======Set Terrain Types======
----
(WIP)
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:====
set_terrain_types(entity, terrain_mode, terrain_types)
^Argument^Description^Type^Required^
|entity| |[[Entity]]|Yes|
|terrain_mode| |[[Terrain Mode]]|Yes|
|terrain_types| |[[Array]]|No|
====Example:====
//Results://
Use the **Set Terrain Types** function to...
----
====Editor Node:====
{{:set_terrain_types_node.png?nolink|}}
~~NOTOC~~