Jump to content

MinimumRange: Difference between revisions

From ModEnc²
No edit summary
en>Testid123
mNo edit summary
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>.

Revision as of 14:13, 16 September 2024

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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).