⇐ Index
Available in version 1.3 and later.
SetTerraformActiveCell(<-cellX <-cellY <-active)
Indicates that a cell is actively being terraformed. Referenced by terps and by GetTerraformDigSite. Terps will tag a cell as active when they begin terraforming. This is to prevent other terps from working on the same cell. Care must be taken with this api. Only set inactive cells that you set active. Also, don't forget to set inactive cells that you set active.
When you call this API a value will be added or removed (based on the 'active' argument) to a game wide hashmap. Terps will reference this hashmap to determine if a cell is active.
NOTE: Active cells are NOT serialized in save game files.
SetTerraformActiveCell(10 15 true)
⇐ Index