CaptureNearest
The CaptureNearest command orders an army to clear its order queue and capture the nearest neutral or enemy-controlled region.
See also: CaptureNearestNext
Arguments
- Name - The name of the unit to do the capturing
- Repeat - Whether to repeat the order (indefinitely)
Limitations
- Can only order script-spawned units, not units built 'organically' during gameplay
- The ordered unit will stop moving if region is captured before it gets there
- Clears the order queue - cannot be combined with other commands like AttackAttackMove or MoveUnit