Skip to content

Max

How many teams of this TeamType can exist before AI triggers stop raising more.

Specification
Applies to
TeamType
File
ai.ini or map file
Section
[<ObjectType ID>]
Value
integer
When omitted
0

A negative value removes the limit. Any other value stops an AI trigger from raising another team of this type once that many exist. The trigger checks the count twice:

  1. The trigger is rejected when the house already owns this many teams of the type.
  2. The creation that follows checks again. Outside a campaign it counts the house’s teams of the type, as the first check did. In a campaign it counts every team of the type in the scenario, whichever house owns it and however it was created.

Other ways of creating a team ignore Max. These are the Create Team, Reinforcement (team) and Reinforcement (team) at waypoint trigger actions and the Change team… mission.

See also — ai-team-production