~~NOTOC~~
<=[[4rpl:start| Index]]
* [[4rpl:commands:GetUnitRange|Get]]
* [[4rpl:commands:SetUnitRange|Set]]
====== SetUnitRange ======
SetUnitRange(<-unit <-amt)
===== Description =====
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 =====
SetUnitRange(self 12)
<=[[4rpl:start| Index]]