# AIGetWorkers

FlagsNative

# Arguments

  • int — player

Returns — unitgroup

native unitgroup AIGetWorkers(int player);

Category: Unclassified

# Examples

mods/core.sc2modbase.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.sc2modbase.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:982

    }

    targetGroup = AIGetWorkers(player);

    //  Find only scv's that are gathering minerals and are close to their mineral target.