User Tools

Site Tools


4rpl:commands:setunitrange

Differences

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

Link to this comparison view

Next revision
Previous revision
4rpl:commands:setunitrange [2021/01/08 16:01] – external edit 127.0.0.14rpl:commands:setunitrange [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ~~NOTOC~~ ~~NOTOC~~
 <=[[4rpl:start| Index]] <=[[4rpl:start| Index]]
 +
 +<WRAP tabs>
 +  * [[4rpl:commands:GetUnitRange|Get]]
 +  * [[4rpl:commands:SetUnitRange|Set]]
 +</WRAP>
  
 ====== SetUnitRange ====== ====== SetUnitRange ======
Line 8: Line 13:
 Sets the Range of the unit. The range is an integer and how it is interpreted depends on the unit. It typically means the weapon range, or the area of affect of the unit. Sets the Range of the unit. The range is an integer and how it is interpreted depends on the unit. It typically means the weapon range, or the area of affect of the unit.
  
 +Other than custom units, this method is effective on most built-in units with a range element with exception of Shields (they use Shield Range). Some non-obvious examples of units it can be applied to are Nullifiers and Greenar Mothers (although the visual range for Greenar Mother is not updated).
 ===== Examples ===== ===== Examples =====
 <code 4rpl> <code 4rpl>
4rpl/commands/setunitrange.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)