User Tools

Site Tools


4rpl:commands:setterraformactivecell

Index

:!: Available in version 1.3 and later.

SetTerraformActiveCell

SetTerraformActiveCell(<-cellX <-cellY <-active)

Description

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.

Examples

SetTerraformActiveCell(10 15 true)

Index

4rpl/commands/setterraformactivecell.txt · Last modified: 2024/02/14 13:43 by Vertu