Home › Dev CE (experimental) › FreeCities

Experimental: needs Dev CE (fork of the Community Extension, release zip and source). A GameCore that adds these Lua methods by calling engine functions directly. Not part of the upstream Community Extension, single-player testing only. Descriptions on these pages were written by an AI assistant from decompiled code and are marked inferred unless a test result confirms them.

FreeCities

1 methods (Dev CE test build). this is found with the game's own IFreeCities instance resolver (plain).

Method Signature Purpose (AI-written, inferred) Tested Engine function Current
SetAlive FreeCities:SetAlive(living: boolean) Sets the alive flag and, when set to false, removes all units owned by this free city via the unit manager and destroys its behavior tree. plumbing: not run (no live object) — 0x1ac3a0

Details

SetAlive

Arguments: living — new alive flag

Writes - Alive flag (0x14) - Behavior tree id at 0x24 reset to -1

Side effects - Removes all matching units via unit manager virtual call - Destroys behavior tree

Input checks: No validation.

Multiplayer: may-desync, destroys units and AI trees. Risk: high (destroys units). Confidence of the reading: medium.