# Get Wants To Move Status

Grammar — Returns true if the AI logic wants to move unit unit
FlagsNative | Function

Returns true if the AI logic wants to move the specified unit.

# Arguments

  • unit — Unit

Returns — bool

native bool AIControlWantsToMove(unit u);

Category: AI Advanced / Tactical / Functions

# Examples

# campaigns/void.sc2campaign

MapScript.galaxy

// L7626
AIControlWantsToMove(auto2CB28472_var)
// L7626
AIControlWantsToMove(auto2CB28472_var)

# mods/core.sc2mod

TactTerrAI.galaxy

// L815
AIControlWantsToMove(unitToCheck)
// L1508
AIControlWantsToMove(aiUnit)
// L1549
AIControlWantsToMove(aiUnit)
// L1695
AIControlWantsToMove(aiUnit)
// L1778
AIControlWantsToMove(aiUnit)
// L791
AIControlWantsToMove(unitToCheck)
// L1431
AIControlWantsToMove(aiUnit)
// L1496
AIControlWantsToMove(aiUnit)
// L1651
AIControlWantsToMove(aiUnit)
// L1732
AIControlWantsToMove(aiUnit)

# mods/starcoop/starcoop.sc2mod

TactZergAI.galaxy

// L1580
AIControlWantsToMove(aiUnit)