10 — Follow friendlies
Walks the team to the nearest vehicle or infantry of an allied house and joins whatever fight that object is in.
- Numeric ID
10- Engine ID
TMISSION_HOUND_DOG- Editor name
- Follow friendlies
- Need token
NEED_NONE- Parameters
- None
Picking what to follow
Section titled “Picking what to follow”Every turn, the team follows the vehicle or infantry nearest its most recently joined member that meets all of:
- it is alive and out of limbo;
- its house is allied to the team’s house;
- its house is not the team’s own house;
- it is not a member of this team.
The followed object becomes the team’s center. If that object is inside a tunnel, the center is the tunnel’s exit cell instead, and the team gathers at the exit.
Following and joining in
Section titled “Following and joining in”The team walks toward the followed object, or toward the tunnel’s exit cell while that object is in a tunnel, on the same terms as an ordinary move. Arriving there ends the line, even when the object is still in the tunnel.
The team also joins the followed object’s fights. Each turn, every member in formation, and every aircraft, is handled as follows:
- A member that holds a target other than the followed object’s target drops it. When the followed object has no target, every member that holds one drops it.
- When the followed object has a target, a member that is armed, standing still and on the Guard mission is put on the Attack mission against that target.
While the followed object is inside a tunnel, members neither drop their targets nor take its target.
- A team whose house has no ally with vehicles or infantry on the map has [nothing to follow](#picking-what-to-follow). Allied aircraft and structures are never followed.
- The line never advances the team by itself. The team moves on only when it arrives at the followed object, or at the tunnel's exit cell while that object is in a tunnel, as [a move](/systems/ai-team-execution/#moving) defines arrival. The followed object can keep moving, so the line can run for a long time or never end.
- With nothing to follow, the team gives no orders and stays on this line until an ally's vehicle or infantry appears. Members keep whatever orders they already had.