# AIControlWantsToUnburrow

FlagsNative

# Arguments

  • unit — u

Returns — bool

native bool AIControlWantsToUnburrow(unit u);

Category: Unclassified

# Examples

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1660

    }
    
    if( AIControlWantsToUnburrow(aiUnit) || AIControlForceUnburrow(aiUnit)) {            
        ord = AICreateOrder(player, c_AB_BurrowLurkerUp, 0);
            if (UnitOrderIsValid(aiUnit, ord)) {