Index
Unit

SetAllLegalUnitCells

SetAllLegalUnitCells(<-val)

Description

Sets the state of building/moving legality for the whole map. This call can be used to clear all, or to set the entire state to 'true' for instance.
Note: You must call UseLegalUnitCells(true) for legal cells to be used.

Examples

SetAllLegalUnitCells(true)

Index