This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
4rpl:commands:setunitrange [2021/01/08 16:01] – external edit 127.0.0.1 | 4rpl:commands:setunitrange [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
< | < | ||
+ | |||
+ | <WRAP tabs> | ||
+ | * [[4rpl: | ||
+ | * [[4rpl: | ||
+ | </ | ||
====== 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> |