ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Difference between revisions of "MinimumRange"
From ModEnc
m |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{flag |
− | + | |name=MinimumRange | |
+ | |files={{Categ|rules(md).ini}} | ||
+ | |values=float | ||
+ | |special=<nowiki>-2</nowiki> | ||
+ | |default=<nowiki>0</nowiki> (no minimum range) | ||
+ | |types={{Categ|Weapon|Weapons}} | ||
+ | |ts=yes | ||
+ | |fs=yes | ||
+ | |ets=yes | ||
+ | |ra2=yes | ||
+ | |yr=yes | ||
+ | |rp=yes | ||
+ | }} | ||
+ | |||
+ | This defines the minimum allowed distance (in cells) for this weapon. If the target is closer than this, the unit will move to get at least this far away before firing. | ||
+ | |||
+ | (Like with <tt>[[Range]]=</tt>, positive values are literal distances, and -2 means infinite.) | ||
+ | ==Note== | ||
+ | It also affects distance in the form of vertical <b>(from top to bottom or from bottom to top)</b>. |
Latest revision as of 14:13, 16 September 2024
Flag: | MinimumRange |
File(s): | rules(md).ini |
Values: | float |
Special Values: | -2 |
Default: | 0 (no minimum range) |
Applicable to: | Weapons |
This defines the minimum allowed distance (in cells) for this weapon. If the target is closer than this, the unit will move to get at least this far away before firing.
(Like with Range=, positive values are literal distances, and -2 means infinite.)