This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crpl:docs:setunitselectableoverride [2015/03/16 01:21] – examples warren | crpl:docs:setunitselectableoverride [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~DISCUSSION~~ | + | |
<- [[crpl: | <- [[crpl: | ||
===== SetUnitSelectableOverride | ===== SetUnitSelectableOverride | ||
Line 11: | Line 11: | ||
===Examples=== | ===Examples=== | ||
+ | < | ||
+ | #Gets all units around core and freezes these | ||
+ | CurrentCoords 18 GetUnitsInRange 0 do | ||
+ | ->unit | ||
+ | <-unit FALSE SetUnitSelectableOverride | ||
+ | loop | ||
+ | </ | ||
< | < | ||
:awake | :awake |