Jump to content

AffectsAllies: Difference between revisions

From ModEnc²
en>Testid123
mNo edit summary
en>Testid123
mNo edit summary
Line 7: Line 7:
|rp=yes
|rp=yes
}}
}}
This flag controls whether this warhead can damage 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 most side-effects such as {{f|DamageReducesReadiness|yes|link}} or {{f|Sonic|yes|link}} will affect them still. <!-- do we need an actual list of which will and which won't? -->
This flag controls whether this warhead can damage 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 most side-effects such as {{f|DamageReducesReadiness|yes|link}} or {{f|Sonic|yes|link}} will affect them still. <!-- do we need an actual list of which will and which won't? -->
<h1>Case study</h1>
*{{f|MindControl|yes|link}}and{{f|Psychedelic|yes|link}} Affects the opposing party only.
*Healing type weapon(negative damage from any weapon) will affect your side.
==Nots==
==Nots==
If <b>AffectsAllies=no</b> is used against a [[warhead]] In the section [[Particle]] it will not work.
If <b>AffectsAllies=no</b> is used against a [[warhead]] In the section [[Particle]] it will not work.
Doesn't work with [[Temporal]] tag.
Doesn't work with [[Temporal]] tag.
Doesn't work with [[IsLocomotor]] tag.
Doesn't work with [[IsLocomotor]] tag.

Revision as of 03:56, 5 October 2024

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 flag controls whether this warhead can damage 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 most side-effects such as DamageReducesReadiness=yes or Sonic=yes will affect them still.

Case study

Nots

If AffectsAllies=no is used against a warhead In the section Particle it will not work. Doesn't work with Temporal tag. Doesn't work with IsLocomotor tag.