Go to the first, previous, next, last section, table of contents.

Limits on Unit Quantities

The effect of these is to prevent any extra units from being created or from going over to a side, regardless of the reason. This happens by either preventing player actions that would result in exceeding a limit (such as when building units), or by making the unit vanish instantly (such as when capturing a unit).

GlobalVariable: units-in-game-max n

This variable is the maximum number of all types of units, on all sides, including independents, that may exist at any time, including initially. Defaults to -1, which means that there is no limit.

GlobalVariable: units-per-side-max n

This variable is the maximum number of units (of all types together) that any side may have, at any time. Events that would cause the limit to be exceeded, such as capturing a unit, result in either the unit vanishing or becoming independent. Defaults to -1, which means that there is no limit.

There is no limit on the number of units that may be independent.

UnitTypeProperty: type-in-game-max n

This property is the maximum total of the given type, for all sides together. Defaults to -1, which means that there is no limit.

UnitTypeProperty: type-per-side-max n

This property is the maximum number of units of the given type allowed to each side. Defaults to -1, which means that there is no limit.


Go to the first, previous, next, last section, table of contents.