Jump to content

LegalTarget: Difference between revisions

From ModEnc²
en>DCoder
No edit summary
 
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{flag
Can be set to 'yes' or 'no' and determines if this object can be targeted or fired upon. Acts as an over-ride as all objects in the game default to 'yes'. With this set, firing at the object is completely disabled although it will still be vulnerable to collateral damage (e.g. from nearby explosions with a CellSpread= set or from Radiation sites).
|files={{Categ|ini=rules}}
|values={{values|boolean}}
|types={{Categ|InfantryTypes}},{{Categ|VehicleTypes}},{{Categ|AircraftTypes}},{{Categ|BuildingTypes}}
|default=yes
|ts=yes
|fs=yes
|ets=yes
|ra2=yes
|yr=yes
|rp=yes
}}
Can be set to ''' 'yes' ''' or ''' 'no' ''' and determines if this object can be targeted or fired upon. Acts as an over-ride as all objects in the game default to 'yes'. With this set, firing at the object is completely disabled although it will still be vulnerable to collateral damage (e.g. from nearby explosions with a {{f|CellSpread||link}} set or from Radiation sites).
 
=={{Bugs}}==
[[TechnoTypes]] with <b>LegalTarget=no</b> tags are treated as if Harmless to any side until [[TechnoTypes]] with <b>LegalTarget=no</b> tagsattacks the intended target.

Latest revision as of 17:34, 2 July 2025

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


Can be set to 'yes' or 'no' and determines if this object can be targeted or fired upon. Acts as an over-ride as all objects in the game default to 'yes'. With this set, firing at the object is completely disabled although it will still be vulnerable to collateral damage (e.g. from nearby explosions with a CellSpread= set or from Radiation sites).

Bugs/Side-Effects/Unexpected Limitations

TechnoTypes with LegalTarget=no tags are treated as if Harmless to any side until TechnoTypes with LegalTarget=no tagsattacks the intended target.