<- CRPL reference <- Unit Commands
Arguments | Result | Notation |
---|---|---|
Unit UID, bool | i1 b1 - |
Sets whether or not the unit can be selected by the player.
#Gets all units around core and freezes these CurrentCoords 18 GetUnitsInRange 0 do ->unit <-unit FALSE SetUnitSelectableOverride loop
: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