Home › Community Extension › UnitManager
Needs the Community Extension. Not available in the unmodified game; works while the Community Extension mod is active (its own functions, or raw memory access with Mem/ObjMem).
UnitManager
2 functions. Signatures come from the CE wiki tables; the engine function and address from the CE source.
| Function |
Signature |
Engine function |
Current address |
CE docs |
| ChangeOwner |
UnitManager.ChangeOwner(unit: Unit, playerId: integer, b1: boolean, b2: boolean) → Unit |
Unit::Manager::ChangeOwner |
0x64f420 |
wiki ↗ |
| GetInstance |
UnitManager.GetInstance(address: number) → Unit\ |
— |
— |
wiki ↗ |