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

MinimumRange

From ModEnc
Jump to navigation Jump to search
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: Floating point values: Any decimal number (clearer range should be added in Template:Values).
Default: 0.0 (no minimum range)
Applicable to: Weapons


This defines the minimum allowed distance (in cells) for this weapon.

Notes

When the distance between the movable unit and the target is too short, triggering the MinimumRange detection, the unit will keep moving away from the target.

Bugs/Side-Effects/Unexpected Limitations

If the weapon also has Range=-2 (infinite range), then the MinimumRange check will be ignored.

The unit will not stop after reaching MinimumRange, but will only stop moving when it reaches the maximum range specified by Range=.

  • This bug has been fixed in Phobos Build#49.

See Also

Occupier#Bugs