Skip to content

0 — Attack...

Turns the whole team onto a target of the chosen category, chosen from one member's position.

Editor data
Numeric ID
0
Engine ID
TMISSION_ATTACK
Editor name
Attack...
Need token
NEED_QUARRY
Parameters
  1. Target categoryquarry
Caveats
  • The team picks a target whenever it has no [mission target](/systems/ai-team-execution/#the-teams-two-targets). Once a target is destroyed, the team picks the next one of the same category.
  • The team's leader picks the target, searching from where it stands. The leader is the most recently joined member that is [in formation](/systems/ai-team-execution/#bringing-a-member-into-formation) or is an aircraft, or the most recently joined member when none is. The leader can be unarmed even when the team has armed members.
  • [OnlyTargetHouseEnemy=yes](/keys/onlytargethouseenemy/) on the TeamType limits the search to objects of [the house's declared enemy](/systems/base-attacked/#anger-and-the-declared-enemy). No other TeamType setting narrows it.
  • The team moves on to the next line of its Script on the first turn that a pick finds no target of the category. It also moves on when every member uses ammunition and none has any left, or when no member in formation, and no aircraft member, can attack. Only an armed aircraft with no ammunition counts as unable to attack.