ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

MinimumRange: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Nighthawk200 (talk | contribs)
m Template updated, Special and Default fixed
Testid123 (talk | contribs)
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
|values=float
|values=float
|special=<nowiki>-2</nowiki>
|special=<nowiki>-2</nowiki>
|default=<nowiki>-2</nowiki> or the <tt>[[Range]]</tt>, which is the same technically
|default=<nowiki>0</nowiki> (no minimum range)
|types={{Categ|Weapon|Weapons}}
|types={{Categ|Weapon|Weapons}}
|ts=yes
|ts=yes
Line 17: Line 17:


(Like with <tt>[[Range]]=</tt>, positive values are literal distances, and -2 means infinite.)
(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 12:13, 16 September 2024

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.)

Note

It also affects distance in the form of vertical (from top to bottom or from bottom to top).