Jump to content

SW.AffectsTarget

From ModEnc²
Revision as of 22:03, 31 March 2025 by MarkJFox (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SW.AffectsTarget
File(s): Rules(md).ini
Values: enumeration none,land,water,empty,infantry,units,buildings,
Default: ?
Applicable to: SuperWeaponTypes

This flag is part of Ares. Do not use it without Ares installed.



Which items are allowed to be affected by this super weapon. You can combine multiple values by comma. If you don’t specify either land or water, both will be allowed. If you don’t specify any of the other values, everything can be affected. Thus, if you specify no restriction (none), all targets are valid. For example, SW.AffectsTarget=land,buildings affects all buildings that aren’t water-bound, SW.AffectsTarget=water affects every water cell, occupied or empty.