Jump to content

MaxNumberOccupants

From ModEnc²
Revision as of 07:51, 4 December 2009 by en>Vinifera7 (Created.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: MaxNumberOccupants
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: 0
Applicable to: BuildingTypes


This flag specifies the maximum number of infantry that can be garrisoned within a building with CanBeOccupied=yes.

If MaxNumberOccupants is set to a positive integer greater than 0, that many pips will be rendered beneath the building for the player controlling it and his allies. If PipsDrawForAll=yes, the pips will be displayed for all players. Infantry garrisoned within the building are represented by the icon specified by OccupyPip. Empty occupant slots are represented by the sixth frame of pips.shp.

See also