Skip to content

18 — Change team...

Moves the team's members into a new team of another TeamType and disbands this team.

Editor data
Numeric ID
18
Engine ID
TMISSION_TEAMCHANGE
Editor name
Change team...
Need token
NEED_TEAM
Parameters
  1. Teamteam

Each member leaves the old team first and is then offered to the new team. A member leaving the old team loses or keeps the old team’s tag as Tag describes. A member out of limbo is also given idle orders; a passenger aboard a transport is not.

The new team takes a member only if it passes the recruitment checks for the new TeamType. Distance and group play no part, and the check on the member’s current team never applies, because the member has already left it. These members are refused:

  • a member whose type does not appear in the new TaskForce, or whose TaskForce line is already full. If the old team holds six of one type and the new TaskForce asks for three, three move across and three are released;
  • a member aboard a transport, or in the middle of loading or unloading;
  • a member that a Change house line has given to another house;
  • a member of an old TeamType with AreTeamMembersRecruitable=no, when the new TeamType is autocreated.

A refused member is not returned to the old team. It stays where it is, on no team, and keeps whatever orders leaving the old team gave it. If the new TaskForce lists none of the types the old team holds, every member is released and the new team starts empty.

The new team is a fresh team of the new TeamType. It runs a fresh copy of that TeamType’s Script from before the first line, and it gets its own tag when the TeamType names one. From then on, the new TeamType’s Reinforce and Priority apply to it.

The new team starts stopped and under strength, however many members it received. It does not continue from the old team’s position in its Script:

  • A team that received its whole TaskForce is at full strength, so it starts on its first turn. It then waits out the reform delay before it runs its first line.
  • A team still short of members stays stopped and recruits until it is full. An empty team is deleted, or kept recruiting, by the same rules as any team that never filled.

Valid values

  • A TeamType, given by its position in the game's list of TeamTypes, counted from 0. A team of that type is created even when no member can move into it.
Caveats
  • The new team belongs to the house that owned the old team, whatever house the new TeamType's House names. Everything else about the new team comes from the new TeamType.
  • This line is the old team's last. Disbanding the old team records an outcome against every AI trigger that names the old TeamType first, and the outcome is a failure unless the old team had already run a Success line.
  • Keep the number below the number of TeamTypes. A larger number can crash the game.