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

Difference between revisions of "CanApproachTarget"

From ModEnc
Jump to: navigation, search
 
(5 intermediate revisions by the same 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 InfantryType or 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 17:10, 5 November 2017

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: 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.