Script
The Script whose team missions a team of this type carries out.
- Applies to
- TeamType
- File
ai.ini or map file- Section
[<ObjectType ID>]- Value
- class
- When omitted
none
A team built from this TeamType carries out the named Script’s team missions one line at a time. When it runs past the last line, the team is disbanded and its members stay on the map. Each team keeps its own place in the Script, so several teams of the same type can be on different lines at once.
[MyRaidTeam] ; example TeamTypeName=Raid teamHouse=NodTaskForce=MyRaidForce ; defined under [TaskForces]Script=MyRaidScript ; defined under [ScriptTypes]The value is matched against the IDs registered under [ScriptTypes]. A name that is not registered there is not an error. The game creates a new, empty Script under that name, so a misspelled name gives the team no missions. A team with an empty Script is disbanded when it tries to run its first line.
The Reinforcement (team) and Reinforcement (team) at waypoint actions handle an empty Script differently. Each adds an attack-waypoint mission to the Script itself, so every later team that uses that Script also gets the mission.