Skip to content

Autocreate

Which of an object's two recruitable states a team of this type reads when it recruits.

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

Autocreate=yes marks the TeamType as autocreated. The mark decides which of an object’s two recruitable states a team of this type checks when it recruits:

  • a team of an unmarked TeamType takes only objects whose ordinary recruitable state is set;
  • a team of a marked TeamType takes only objects whose autocreate-recruitable state is set.

Each kind of team ignores the other state. Both states start set on every object, so the mark makes a difference only after one of them is cleared. A map’s placed-object record can clear either state, and joining a team whose TeamType sets AreTeamMembersRecruitable=no clears the autocreate-recruitable state.