# AIAnyWorkersFleeingNearby
Flags —
Native
# Arguments
int
— playerpoint
— locfixed
— radius
Returns — bool
native bool AIAnyWorkersFleeingNearby(
int player,
point loc,
fixed radius,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:900
if (command == c_AB_CommandCenterChange) {
if (!AIAnyWorkersFleeingNearby(player,UnitGetPosition(aiUnit),8.0)) {
return false;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:865
if (command == c_AB_CommandCenterChange) {
if (!AIAnyWorkersFleeingNearby(player,UnitGetPosition(aiUnit),8.0)) {
return false;
}