# AIGetWorkers
Flags —
Native
# Arguments
int
— player
Returns — unitgroup
native unitgroup AIGetWorkers(int player);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1021
}
targetGroup = AIGetWorkers(player);
// Find only scv's that are gathering minerals and are close to their mineral target.
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:982
}
targetGroup = AIGetWorkers(player);
// Find only scv's that are gathering minerals and are close to their mineral target.