Jump to content

OccupyWeapon

From ModEnc²
Revision as of 10:02, 3 October 2009 by en>DCoder (Re-adding autolist marker)
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 Template:TTL=yes set.

The unit will then fire its designated OccupyWeapon from the structure at a specific global Template:TTL and damage the target using the weapon's Template:TTL multiplied by Template:TTL(global). The rate of fire of the weapon should be the weapon's Template:TTL multiplied by Template:TTL(global).

When the unit has become elite, it will use its Template:TTL. 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.