Knob
Retreat
You might say: disengage, fall back, withdrawal
A threshold or policy that disengages a unit or group when continuing the fight costs more than preserving the force.
- What it does
- Preserves future options, breaks losing contact and moves the force toward safer ground or a better fight.
- Ask
- How much danger, loss or positional disadvantage is enough to abandon this engagement?
- Trouble
- The force stays until destroyed, retreats from every contact or oscillates at the boundary.
What to look for
- A retreat marker appears behind the group
- Units turn away while maintaining spacing or cover
- The threat gauge crosses a visible withdrawal line
Pattern
Sources
- Jeff Orkin, Three States and a Plan: The A.I. of F.E.A.R., Simple Squad Behaviors, p. 14
If the player throws a grenade, and invalidates the new cover position, the A.I. may re-evaluate his goals and decide it’s a higher priority to flee than to follow orders. In this case, the A.I. flees and ends up somewhere unexpected, so the squad behavior fails.
- Matthew Jack, Tactical Position Selection: An Architecture and Query Language, Section 26.5.2, p. 11
We can, of course, retreat from a goal in the same way by using a negative weight or requiring a negative directness.
Use it on your project
teardown-apply: hold "Retreat" (retreat) from the teardown at https://teardownatlas.com/game-ai/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal