Skip to content

15 — Spy on bldg @ waypt...

Sends the team against whatever stands on a waypoint, ordering its Infiltrate=yes infantry into the target and the rest to attack it.

Editor data
Numeric ID
15
Engine ID
TMISSION_SPY
Editor name
Spy on bldg @ waypt...
Need token
NEED_WAYPOINT
Parameters
  1. Waypointwaypoint

Each turn until it has a target, the team looks at the waypoint’s cell. The first object found there becomes the target for the rest of the line, including a vehicle or infantry that moves onto the cell after the line starts. The target stays that object if it moves off the cell, and the team does not look at the cell again.

Each member in formation, and each aircraft, is ordered against the target. An infantry member whose type is Infiltrate=yes is put on the capture mission against it. Every other member is put on the Attack mission, so only members without Infiltrate=yes are ordered to fire at the target.

A soldier on the capture mission walks to the target only in these cases:

  • an Engineer=yes or C4=yes soldier, or one that has gained the C4 veteran ability, walks into any structure;
  • any other Infiltrate=yes soldier, such as an Agent=yes spy, walks in only when it is unarmed and the structure is Capturable=yes.

A soldier outside those cases is not sent to the target, and neither is any Infiltrate=yes soldier when the target is not a structure.

Engineer=yes and C4=yes both turn Infiltrate=yes on, so an engineer or demolition soldier is ordered in without the setting being written. A spy is ordered in only when its section sets Infiltrate=yes; otherwise it is put on the Attack mission like the rest of the team.

Capture covers what a soldier does when it walks in. In short, an Engineer=yes soldier captures, repairs or damages the structure, an Agent=yes soldier spies on it, and any other soldier is consumed.

Valid values

  • A scenario waypoint. The target is whatever object stands on the waypoint's cell, which need not be a structure.
Caveats
  • The mission is labeled obsolete, but it runs as this page describes.
  • The mission is not limited to spies. [Infiltrate=yes](/keys/infiltrate/) on a soldier's type decides whether it is ordered in or attacks.
  • If nothing stands on the waypoint's cell, the team gets no orders and stays on this line until something does. A structure destroyed before the line starts therefore leaves the team waiting, possibly for the rest of the match.
  • The team moves on to the next line once the target is gone, or on a turn when no member [in formation](/systems/ai-team-execution/#bringing-a-member-into-formation), and no aircraft member, can attack. Only an armed aircraft with no ammunition counts as unable to attack.