User Tools

Site Tools


set_terrain_types

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
set_terrain_types [2024/02/08 20:37] justinset_terrain_types [2024/02/08 20:42] justin
Line 3: Line 3:
 (WIP) (WIP)
  
-Modifies which [[terrain types]] that a [[character]], [[vehicles|vehicle]], or [[pushing|pushable object]] is allowed to traverse.+Modifies the [[terrain types]] that a [[character]], [[vehicles|vehicle]], or [[pushing|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 [[tile|tiles]] having a [[terrain_types|terrain type]] of "water").
  
 ====Signature:==== ====Signature:====
set_terrain_types.txt · Last modified: 2024/02/22 21:11 by justin