Jump to content

MinimumRange

From ModEnc²
Revision as of 14:13, 16 September 2024 by en>Testid123
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).