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

Difference between revisions of "Max"

From ModEnc
Jump to: navigation, search
(Created page with "In TeamTypes, Max value gives the maximum number of teams of this TeamType that could exist for the AI. Usual values are 1 or above. -1 means unlimited. TotalAITeamCap...")
 
m (Update)
Line 1: Line 1:
In [[TeamTypes]], Max value gives the maximum number of teams of this TeamType that could exist for the AI. Usual values are 1 or above. -1 means unlimited. [[TotalAITeamCap]] puts the cap on the total number of teams that AI could have.
+
In [[TeamTypes]], Max value gives the maximum number of teams of this TeamType that could exist for the AI(s). Usual values are 1 or above. -1 means unlimited. [[TotalAITeamCap]] puts the cap on the total number of teams that AI could have. Max value is checked when teams are produced through AITriggers, it is not considered when teams are produced through map actions. Game maintains the total count for a team even when that team has finished its script actions. When all the members of the team are either destroyed or recruited into other teams, then the total count for that team is decreased.
 +
 
 +
In multiplayer maps, the maximum limit is per AI house. In single player maps, it is based on the total count for that team on the map, those teams could have been produced by any house.
  
 
[[Category:INI Flags]]
 
[[Category:INI Flags]]

Revision as of 05:20, 14 July 2019

In TeamTypes, Max value gives the maximum number of teams of this TeamType that could exist for the AI(s). Usual values are 1 or above. -1 means unlimited. TotalAITeamCap puts the cap on the total number of teams that AI could have. Max value is checked when teams are produced through AITriggers, it is not considered when teams are produced through map actions. Game maintains the total count for a team even when that team has finished its script actions. When all the members of the team are either destroyed or recruited into other teams, then the total count for that team is decreased.

In multiplayer maps, the maximum limit is per AI house. In single player maps, it is based on the total count for that team on the map, those teams could have been produced by any house.