Skip to content

5 — Destroy Team...

Disbands every team of the named type and releases its members to their idle behavior.

Editor data
Numeric ID
5
Engine ID
TACTION_DESTROY_TEAM
Editor name
Destroy Team...
Need token
NEED_TEAM
Parameters
  1. Teamteam
Attachment
none
INI example
[Actions]
<TriggerID>=1,5,1,<Team>,0,0,0,0,

The track record explains how a success or failure changes an AI trigger’s weight.

Valid values

  • A TeamType the scenario declares. A line naming no team does nothing.
Caveats
  • Every team of the type is disbanded, whether Create Team, a reinforcement action, an AI trigger or another team's script created it. The members are not destroyed.
  • Every member stops following the team's script. Each member on the map falls back on its idle behavior, as it would after finishing an ordinary order. What it does next depends on the object. A member still on its way to a destination keeps going there, and one with nothing left to do usually guards. A harvester usually returns to harvesting.
  • Members owned by a computer house lose the team's tag. Triggers on that tag are no longer sprung by those objects.
  • Disbanding counts as a finished run for every AI trigger whose first team is this TeamType. The run counts as a failure unless the team had already reached the Success mission in its script. With the default settings, a failure lowers that trigger's weight by at least 1, but not below its minimum.