Jump to content

CanApproachTarget

From ModEnc²
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: CanApproachTarget
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes
Applicable to: InfantryTypes, VehicleTypes, AircraftTypes


Can be set to 'yes' or 'no' and determines whether or not this TechnoType can continually move towards its intended target to fire any of its weapons with the intention of gaining more accuracy. Defaults to 'yes' on all units. It is set to 'no' on Mirage Tanks to prevent them from moving towards targets in guard mode, as it would make their tree disguise useless otherwise.

Note: Setting CanApproachTarget=no on AA units is a method to prevent them from chasing down air units, and they will instead only follow if attacked by them.