Jump to content

SW.RequiresTarget

From ModEnc²
Revision as of 16:02, 20 August 2024 by en>Testid123 (Created page with "{{Flag |name={{PAGENAME}} |files={{Categ|Rules(md).ini}} |values=none,land,water,empty,infantry,units,buildings |default=TechnoTypes |types={{categ|SuperWeaponTypes}} |are...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: SW.RequiresTarget
File(s): Rules(md).ini
Values: none,land,water,empty,infantry,units,buildings
Default: TechnoTypes
Applicable to: SuperWeaponTypes

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



Which items this super weapon can fire at. Hovering above an allowed item will show the Cursor, otherwise the player gets the NoCursor and it is not possible to launch the super weapon. For an example see SW.AffectsTarget.

Note

Please be aware of the problems that can arise if this and SW.AffectsTarget are set to mutually exclusive values not allowing the super weapon to affect anything.