⇐ Index
Available in version 1.3 and later.
StunUnitsInRange(<-cellX <-cellY <-range <-enemy)
Stuns the units in range of the specified cell coordinates. This is the same routine that shrapnel uses to stun units. The 'enemy' parameter is a bool indicting if only enemy, or non enemies, should be stunned. Note that for a unit to be stunned, it must also have the CAN_STUN property set (regardless of the enemy parameter).
Default StunCount is 10 seconds or 300 Frames.
StunUnitsInRange(50 50 20 false)
⇐ Index