User Tools

Site Tools


4rpl:commands:stununitsinrange

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:stununitsinrange [2023/10/05 20:11] – old revision restored (2021/02/24 17:59) Vertu4rpl:commands:stununitsinrange [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 8: Line 8:
 ===== Description ===== ===== Description =====
 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). 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).
 +
 +:NOTE:
 +Default StunCount is 10 seconds or 300 Frames.
  
 ===== Examples ===== ===== Examples =====
4rpl/commands/stununitsinrange.1696536700.txt.gz · Last modified: 2025/02/14 14:56 (external edit)