ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

CanOccupyFire

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: CanOccupyFire
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


This flag determines whether or not a building with CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0, will allow its occupants to fire weapons from inside of it.

An infantry with Occupier=yes that is occupying the building will fire OccupyWeapon if its veterancy status is "green" or "veteran", and EliteOccupyWeapon if "elite".

See also