Jump to content

OccupyWeaponRange

From ModEnc²
Revision as of 22:00, 31 March 2025 by MarkJFox (talk | contribs) (4 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: OccupyWeaponRange
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 5
Applicable to: [CombatDamage]


This flag overrides the Range of any weapon fired by an infantry with Occupier=yes while occupying a building with CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0.

The weapon fired by an infantry while occupying a building is determined by OccupyWeapon, or EliteOccupyWeapon if the infantry's veterancy status is "elite".

See also