— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
(WIP)
Modifies the terrain types that a character, vehicle, or pushable object is allowed to traverse. If the “terrain_mode” argument is other than ALL (i.e. PROHIBIT_FROM or RESTRICT_TO), then the “terrain_types” argument should contain an array of string values indicating which types of terrain the entity is either prohibited from or restricted to (e.g. a ship would be restricted to tiles having a terrain type of “water”).
set_terrain_types(entity, terrain_mode, terrain_types)
Argument | Description | Type | Required |
---|---|---|---|
entity | Entity | Yes | |
terrain_mode | Terrain Mode | Yes | |
terrain_types | Array | No |
Results:
Use the Set Terrain Types function to…