Jump to content

CanApproachTarget: Difference between revisions

From ModEnc²
en>Vinifera7
m Created with info from The Guide
 
m 8 revisions imported
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Special case which can be set to 'yes' or 'no' and determines whether or not this VehicleType can continually move towards its intended target to fire its Primary= weapon with the intention of gaining more accuracy. Is used as an over-ride as all units default to 'yes'. Only used on the Mirage Tanks to prevent it appearing as though a 'tree' is moving towards an enemy when it fires.
|name={{PAGENAME}}
|files={{Categ|Rules(md).ini}}
|values={{values|boolean}}
|special=
|default=yes
|types={{Categ|InfantryTypes}}, {{Categ|VehicleTypes}}, {{Categ|AircraftTypes}}
|ts=yes
|fs=yes
|ra2=yes
|yr=yes
}}
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.

Latest revision as of 21:38, 31 March 2025

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.