# AIAnyWorkersFleeingNearby

FlagsNative

# Arguments

  • int — player
  • point — loc
  • fixed — radius

Returns — bool

native bool AIAnyWorkersFleeingNearby(
	int player,
	point loc,
	fixed radius,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:900


        if (command == c_AB_CommandCenterChange) {
            if (!AIAnyWorkersFleeingNearby(player,UnitGetPosition(aiUnit),8.0)) {
                return false;
            }

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:865


        if (command == c_AB_CommandCenterChange) {
            if (!AIAnyWorkersFleeingNearby(player,UnitGetPosition(aiUnit),8.0)) {
                return false;
            }