This is an old revision of the document!
~~DISCUSSION~~ <- CRPL reference <- Unit Commands
Arguments | Result | Notation |
---|---|---|
Unit UID, bool | i1 b1 - |
Sets whether or not the unit can be selected by the player.
:awake #before anything else is done, freeze all units under this one, then destroy oneself CurrentCoords 0 TRUE GetAllUnitsInRange 0 do ->unit <-unit FALSE SetUnitSelectableOverride loop Self 0 Destroy