Jump to content

OccupyWeapon

From ModEnc²
Revision as of 10:22, 27 November 2009 by en>EvilRenegade (Replacing Template:TTL with Template:F.)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: OccupyWeapon
File(s): Rules(md).ini
Values: Strings: Normal text. (Limited to: Weapons)
Applicable to: TechnoTypes


Specifies the weapon that this unit should use when occupying an urban structure or bunker. The unit should have Occupier=yes set.

The unit will then fire its designated OccupyWeapon from the structure at a specific global OccupyWeaponRange and damage the target using the weapon's Damage multiplied by OccupyDamageMultiplier(global). The rate of fire of the weapon should be the weapon's ROF multiplied by OccupyROFMultiplier(global).

When the unit has become elite, it will use its EliteOccupyWeapon. If there is no such tag set, it will continue using its OccupyWeapon to fire.

Automatic List Inclusion

Weapons used as values for this flag are automatically listed under the appropriate internal array. However no harm can be done by listing them manually.