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

Difference between revisions of "CanRetaliate"

From ModEnc
Jump to: navigation, search
 
(One more down.)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and determines whether or not this object can return fire with its Primary= weapon when it is hit by enemy fire. This is used as an over-ride as all objects default to 'yes'.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values={{Values|boolean}}
 +
|default=yes
 +
|types={{Categ|TechnoTypes}}
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
Specifies if this object may retaliate when hit by enemy fire. The object may NOT retaliate when:
 +
 
 +
* The damage came from friendly troops.
 +
* The damage came from a special weapon.
 +
* The damage does no harm to the object, or the damage is less than 1 after calculations.
 +
* The retaliating object is paralyzed.
 +
* The retaliating object is currently being hit by a weapon whose warhead has {{f|Temporal|yes|link}}.
 +
* The retaliating object is destroyed
 +
* The target is Iron Curtain-ed.
 +
* The target is [[Immune]].
 +
* The target has set {{f|LegalTarget|no|link}}.
 +
* The target is cloaked.
 +
* The target is already destroyed.
 +
* The target is out of range, or the weapon used by the retaliating object's [[Range]] is less than the range from the object to the target.
 +
 
 +
If the object has {{f|CanPassiveAquire|yes|link}} set, then it may attack the target before the target attacks it if the target has a [[ThreatPosed]] greater than 0 set, then the object will attack even if as above stated the damage is less than 1 after calculations, but remember that the object is not actually retaliating!
 +
 
 +
== See Also ==
 +
* [[CanPassiveAquire]]

Revision as of 23:50, 4 January 2010

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: CanRetaliate
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes
Applicable to: TechnoTypes


Specifies if this object may retaliate when hit by enemy fire. The object may NOT retaliate when:

  • The damage came from friendly troops.
  • The damage came from a special weapon.
  • The damage does no harm to the object, or the damage is less than 1 after calculations.
  • The retaliating object is paralyzed.
  • The retaliating object is currently being hit by a weapon whose warhead has Temporal=yes.
  • The retaliating object is destroyed
  • The target is Iron Curtain-ed.
  • The target is Immune.
  • The target has set LegalTarget=no.
  • The target is cloaked.
  • The target is already destroyed.
  • The target is out of range, or the weapon used by the retaliating object's Range is less than the range from the object to the target.

If the object has CanPassiveAquire=yes set, then it may attack the target before the target attacks it if the target has a ThreatPosed greater than 0 set, then the object will attack even if as above stated the damage is less than 1 after calculations, but remember that the object is not actually retaliating!

See Also