# AIFilterProduction
Flags —
Native
# Arguments
unitgroup
— groupbool
— activeOnly
Returns — unitgroup
native unitgroup AIFilterProduction(
unitgroup group,
bool activeOnly,
);
# Related
Category: Unclassified
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:973
}
enemyGroup = AIFilterProduction(enemyGroup, c_activeOnly);
if (enemyGroup == null) {
return null;
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1182
}
enemyGroup = AIFilterProduction(enemyGroup, c_activeOnly);
if (enemyGroup == null) {
return null;