Jump to content

AffectsAllies: Difference between revisions

From ModEnc²
ATHSE (talk | contribs)
m always missing braces
ATHSE (talk | contribs)
m combined notes, why not
Line 8: Line 8:
This controls whether this warhead can apply 'damage' to friendly units. If set to 'no', then any friendly units within the warhead radius will not be affected by the actual damage-dealing part of the warhead, but side-effects such as {{f|DamageReducesReadiness|yes|link}} or {{f|Sonic|yes|link}} will affect them still.  
This controls whether this warhead can apply 'damage' to friendly units. If set to 'no', then any friendly units within the warhead radius will not be affected by the actual damage-dealing part of the warhead, but side-effects such as {{f|DamageReducesReadiness|yes|link}} or {{f|Sonic|yes|link}} will affect them still.  


==Usage==
==Notes==
If <tt>AffectsAllies=yes</tt>, a weapon with {{f|MindControl|yes|link}} and {{f|Psychedelic|yes|link}} affects the opposing party only.
If <tt>AffectsAllies=yes</tt>, a weapon with {{f|MindControl|yes|link}} and {{f|Psychedelic|yes|link}} affects the opposing party only.


If the weapon does negative [[Damage]], such as a repairing/healing type weapon, it will be able to heal all allies.
If the weapon does negative [[Damage]], such as a repairing/healing type weapon, it will be able to heal all allies.


==Notes==
A [[Particle]] won't function if <tt>AffectsAllies=no</tt> is used on its [[warhead]].
A [[Particle]] won't function if <tt>AffectsAllies=no</tt> is used on its [[warhead]].


{{bugs}}
{{bugs}}
Doesn't work with {{f|Temporal|yes|link}} weapons or {{f|IsLocomotor|yes|link}} objects.
Doesn't work with {{f|Temporal|yes|link}} weapons or {{f|IsLocomotor|yes|link}} objects.

Revision as of 14:19, 14 April 2025

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


This controls whether this warhead can apply 'damage' to friendly units. If set to 'no', then any friendly units within the warhead radius will not be affected by the actual damage-dealing part of the warhead, but side-effects such as DamageReducesReadiness=yes or Sonic=yes will affect them still.

Notes

If AffectsAllies=yes, a weapon with MindControl=yes and Psychedelic=yes affects the opposing party only.

If the weapon does negative Damage, such as a repairing/healing type weapon, it will be able to heal all allies.

A Particle won't function if AffectsAllies=no is used on its warhead.

Bugs/Side-Effects/Unexpected Limitations Doesn't work with Temporal=yes weapons or IsLocomotor=yes objects.