# AIFilterProduction

FlagsNative

# Arguments

  • unitgroup — group
  • bool — activeOnly

Returns — unitgroup

native unitgroup AIFilterProduction(
	unitgroup group,
	bool activeOnly,
);

Category: Unclassified

# Examples

mods/core.sc2modbase.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:973

    }

    enemyGroup = AIFilterProduction(enemyGroup, c_activeOnly);
    if (enemyGroup == null) {
        return null;

mods/starcoop/starcoop.sc2modbase.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:1182

    }

    enemyGroup = AIFilterProduction(enemyGroup, c_activeOnly);
    if (enemyGroup == null) {
        return null;