Skip to content

Miscellaneous

← EXE Functions · code catalog

Friendly names for EXE category 17. Each maps to a top-level EXE code.


WheaterColor

WheaterColor(redComponent: int, greenComponent: int, blueComponent: int)  ·  exe 24

Changes the colour of the prehex sprite. But only of its core sprite not if its optional 64 border sprites.

Parameters

  • redComponent (int) — Red Component (0=no change, 255=full)
  • greenComponent (int) — Green Component (0=no change, 255=full)
  • blueComponent (int) — Blue Component (0=no change, 255=full)

Example: exe(24,200,100,50)


ReloadGraphic

ReloadGraphic(currentFilename: string, newFilename: string)  ·  exe 192

expert use only. part or whole of filename (current filename) is looked for in all loaded graphics and replaced by new filename. use only the filename itself like 'background2.png' for the file to be replaced. use only filename like 'background2b.png' for the string that replaces it.

Parameters

  • currentFilename (string) — Current filename
  • newFilename (string) — New filename

Example: exe(192,'Name','Name')


This doc was generated from extracting data from Shadow Empire version 1.32a on 2026-06-05 06:56 UTC.