Skip to content

Officerpool

← EXE Functions · code catalog

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


CommanderPool

CommanderPool(historicalUnitId: int, inPool1: bool, newPpValue: int)  ·  exe 208

No in-game description provided; behaviour inferred from the function name.

Parameters

  • historicalUnitId (int) — Historical unit ID#
  • inPool1 (bool) — In Pool? 1=yes, 0=no
  • newPpValue (int) — new PP value (-1 = dont change)

Example: exe(208,1,1,1)


RemoveActiveOfficersFromStringlist

RemoveActiveOfficersFromStringlist(regime: int, stringlistId: int)  ·  exe 227

Looks up the officer historical ID in column 0 and sets availability to 0 in column 1. Active officers are officers that are in the pool or on the map in a unit.

Parameters

  • regime (int) — regime#
  • stringlistId (int) — stringlist ID

Example: exe(227,4,1)


RemovePeopleOfficersFromStringlist

RemovePeopleOfficersFromStringlist(people: int, stringlistId: int)  ·  exe 229

Looks up the officer historical ID in column 0 and sets availability to 0 in column 1 if the officer has specified people#.

Parameters

  • people (int) — people#
  • stringlistId (int) — stringlist ID

Example: exe(229,2,1)


RemoveFromOfficerPool

RemoveFromOfficerPool(regime: int, people: int, vartype: int, arg: int)  ·  exe 230

Removes any officers from the officerpool of specified regime who has the specified characeristics. You can deted vartype = varqty to tailormake catch a specific officer.

Parameters

  • regime (int) — regime# (-1=all)
  • people (int) — people# (-1=all)
  • vartype (int) — VarType (-1=ignore condition)
  • arg (int) — =VarQty

Example: exe(230,4,2,1,1)


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