Game¶
← EXE Functions · code catalog
Friendly names for EXE category 10. Each maps to a top-level EXE code.
SetWinner¶
SetWinner(regimenr: int) · exe 4
No in-game description provided; behaviour inferred from the function name.
Parameters
regimenr(int) — RegimeNr
Example: exe(4,4)
SetRuleVar¶
SetRuleVar(rulevar: int, newValue: int, behindComma0: int) · exe 31
No in-game description provided; behaviour inferred from the function name.
Parameters
rulevar(int) — Rulevar #newValue(int) — New ValuebehindComma0(int) — Behind comma... 0=no action.. >0=divide new value by 100 to set a decimal.
Example: exe(31,1,1,1)
ChangeDate¶
ChangeDate(day: int, month: int, year: int) · exe 153
No in-game description provided; behaviour inferred from the function name.
Parameters
day(int) — Daymonth(int) — Monthyear(int) — Year
Example: exe(153,1,1,1)
SetTurnString¶
SetTurnString(shortString: string) · exe 177
if you set it to '' then it will not overrule the date or round. Keep the string short to make it fit.
Parameters
shortString(string) — Short String
Example: exe(177,'Text')
SetRound¶
SetRound(round: int) · exe 178
Do not use! It will screw with the statistics. Never set higher. You can only set lower then current round.
Parameters
round(int) — Round
Example: exe(178,1)
DateMode¶
DateMode(arg0: int, daysPerRound: int, shortname: int) · exe 186
No in-game description provided; behaviour inferred from the function name.
Parameters
arg0(int) — 0=rounds, 1=datesdaysPerRound(int) — days per roundshortname(int) — Shortname
Example: exe(186,1,1,1)
ChangeDateAdd¶
ChangeDateAdd(addXDay: int, addXMonth: int, addXYear: int) · exe 225
No in-game description provided; behaviour inferred from the function name.
Parameters
addXDay(int) — add x DayaddXMonth(int) — add x MonthaddXYear(int) — add x Year
Example: exe(225,1,1,1)
SetAllUnitReady¶
SetAllUnitReady(regime1: int) · exe 226
Sets all units with max supply, ap and readiness.
Parameters
regime1(int) — regime. -1=all
Example: exe(226,4)
SetExtraTab¶
SetExtraTab(nameOfTab: string, eventSlotGeneratingMessageToBeUsed: int, tab: int) · exe 248
No in-game description provided; behaviour inferred from the function name.
Parameters
nameOfTab(string) — Name of tabeventSlotGeneratingMessageToBeUsed(int) — Event slot# generating message to be usedtab(int) — tab# (1,2 or 3)
Example: exe(248,'Name',1,1)
Screenshot¶
Screenshot(areaslot: int, filename: string) · exe 278
Please give the filename without extension. .jpg will be added automaticly. just 'test' will do. Or 'pic12'.
Parameters
areaslot(int) — AreaSlot#filename(string) — Filename
Example: exe(278,1,'Name')
Popup¶
Popup(message: string) · exe 283
Causes a Windows Popup that halts all further event execution untill OK is pressed. Ideal for debugging.
Parameters
message(string) — Message
Example: exe(283,'Text')
HardcodedDC¶
HardcodedDC(data1: string, data2: string, data3: string, data4: string) · exe 350
This is a hardcoded function. It is not meant for general use. And should be used by VR only. (For VR Weather Library => Data1=1,Data2=Lib Name,Data3=Mode(1=editor,2=new round))
Parameters
data1(string) — Data1data2(string) — Data2data3(string) — Data3data4(string) — Data4
Example: exe(350,'Text','Text','Text','Text')
This doc was generated from extracting data from Shadow Empire version 1.32a on 2026-06-05 06:56 UTC.