# Units In Unit Group Matching Condition

Grammartype units in group|Unit Group owned by player player matching unitFilter, with at most count
FlagsNative | Function

Returns a unit group that contains units that have passed the specified filters from another unit group.

# Arguments

  • string<gamelink::Unit> — Unit Type
  • int — Player
  • unitgroup — Group
  • unitfilter — Unit Filter
  • int — Count

Returns — unitgroup

native unitgroup UnitGroupFilter(
	string type,
	int player,
	unitgroup g,
	unitfilter filter,
	int maxCount,
);

Category: Unit Group / Useful Unit Groups

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson02.sc2map/MapScript.galaxy:1629

    }
    while (true) {
        auto17484C82_g = UnitGroupFilter(null, c_playerAny, lv_doomedUnits, UnitFilter(0, 0, 0, 0), 10);
        auto17484C82_u = UnitGroupCount(auto17484C82_g, c_unitCountAll);
        for (;; auto17484C82_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:1754

    UnitGroupIssueOrder(UnitGroup(null, gv_p2_DOMINION_RED, RegionFromId(27), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1949)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitGroup(null, gv_p2_DOMINION_RED, RegionFromId(38), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(2615)), c_orderQueueReplace);
    auto2D370052_g = UnitGroupFilter("Firebat", c_playerAny, gv_riksvilleTownSquareDominion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto2D370052_u = UnitGroupCount(auto2D370052_g, c_unitCountAll);
    for (;; auto2D370052_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor01.sc2map/MapScript.galaxy:2240


    TriggerEnable(TriggerGetCurrent(), false);
    auto78EC0DC4_g = UnitGroupFilter("Marine", gv_p2_DOMINION_RED, gv_escapeJerks, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto78EC0DC4_u = UnitGroupCount(auto78EC0DC4_g, c_unitCountAll);
    for (;; auto78EC0DC4_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:1525


    }
    lv_searcher = libNtve_gf_ClosestUnitToPoint(RegionGetCenter(RegionFromId(46)), UnitGroupFilter(null, c_playerAny, lv_victims, UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32))), 0));
    if ((UnitIsAlive(lv_searcher) == false)) {
        return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2236

    }

    lv_patrolGroup = UnitGroupFilter(null, gv_p6_DOMINION_ORANGE, gv_cellBlockAJerksGroup, UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMechanical) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    while (true) {
        Wait(1.0, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03a.sc2map/MapScript.galaxy:2333

    TriggerEnable(TriggerGetCurrent(), false);
    gv_cellBlockASearching = true;
    lv_patrolGroup = UnitGroupFilter(null, gv_p6_DOMINION_ORANGE, gv_cellBlockAJerksGroup, UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMechanical) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    lv_searcher = libNtve_gf_ClosestUnitToPoint(UnitGetPosition(gv_tosh), lv_patrolGroup);
    UnitIssueOrder(lv_searcher, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh03b.sc2map/MapScript.galaxy:2581


    TriggerEnable(TriggerGetCurrent(), false);
    lv_vikings = UnitGroupFilter("VikingFighter", gv_pLAYER02_TOSH, gv_p2LZGuards, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    UnitGroupIssueOrder(lv_vikings, Order(AbilityCommand("AssaultMode", 0)), c_orderQueueReplace);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2156


        lv_enemies = UnitGroupAlliance(gv_p2_ZERG, c_unitAllianceEnemy, RegionFromId(63), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        if ((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0), c_unitCountAlive) > 1)) {
            lv_target = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(gv_artifact), UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0)));
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:2157

        lv_enemies = UnitGroupAlliance(gv_p2_ZERG, c_unitAllianceEnemy, RegionFromId(63), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        if ((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0), c_unitCountAlive) > 1)) {
            lv_target = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(gv_artifact), UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0)));
        }
        else {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:321


    // Implementation
    auto689ABB5F_g = UnitGroupFilter(lp_unitType, lp_player, gv_suicidalBullies, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), lp_quantity);
    auto689ABB5F_u = UnitGroupCount(auto689ABB5F_g, c_unitCountAll);
    for (;; auto689ABB5F_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:4987

    UnitGroupRemove(lv_unitGroup, UnitFromId(90));
    UnitGroupRemove(lv_unitGroup, UnitFromId(271));
    auto7211007A_g = UnitGroupFilter(null, gv_p7_ABANDONED_BASE, lv_unitGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto7211007A_u = UnitGroupCount(auto7211007A_g, c_unitCountAll);
    for (;; auto7211007A_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:836

            }

            if ((UnitGroupCount(UnitGroupFilter(lv_type1, c_playerAny, lv_spawnedUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (lv_qty1 * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:854

            }

            if ((UnitGroupCount(UnitGroupFilter(lv_type2, c_playerAny, lv_spawnedUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (lv_qty2 * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:1410

            }

            if ((UnitGroupCount(UnitGroupFilter("Zergling", c_playerAny, lv_spawnGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (libNtve_gf_DifficultyValueInt(2, 2, 3, 3) * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:1425

            }

            if ((UnitGroupCount(UnitGroupFilter(libNtve_gf_DifficultyValueUnitType("Roach", "Roach", "Hydralisk", "Hydralisk"), c_playerAny, lv_spawnGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (1 * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:853

        UnitGroupAdd(gv_rumbleVanguard, auto3C06E80C_var);
    }
    auto31C696FB_g = UnitGroupFilter("ZerglingBurrowed", c_playerAny, gv_rumbleVanguard, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto31C696FB_u = UnitGroupCount(auto31C696FB_g, c_unitCountAll);
    for (;; auto31C696FB_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:877

        UnitGroupAdd(gv_rumbleMidguard, autoD8E32DD2_var);
    }
    autoA6CF4A46_g = UnitGroupFilter("CreepTumorBurrowed", c_playerAny, gv_rumbleMidguard, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA6CF4A46_u = UnitGroupCount(autoA6CF4A46_g, c_unitCountAll);
    for (;; autoA6CF4A46_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul01.sc2map/MapScript.galaxy:891

        UnitGroupAdd(gv_rumbleRearguard, auto18576A0B_var);
    }
    auto53CB19B0_g = UnitGroupFilter("CreepTumorBurrowed", gv_p3_ZERG, gv_rumbleRearguard, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto53CB19B0_u = UnitGroupCount(auto53CB19B0_g, c_unitCountAll);
    for (;; auto53CB19B0_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:900

    }
    UnitGroupLoopEnd();
    UnitGroupLoopBegin(UnitGroupFilter("OrbitalCommand", gv_pLAYER_USER, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:1209

    // Conditions
    if (testConds) {
        if (!((UnitGroupCount(UnitGroupFilter("Ghost", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancovertops.sc2map/MapScript.galaxy:1213

        }

        if (!((UnitGroupCount(UnitGroupFilter("Raven", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1090

    // Conditions
    if (testConds) {
        if (!((UnitGroupCount(UnitGroupFilter("Infestor", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1094

        }

        if (!((UnitGroupCount(UnitGroupFilter("InfestorBurrowed", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1098

        }

        if (!((UnitGroupCount(UnitGroupFilter("Roach", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/zerginfestation.sc2map/MapScript.galaxy:1102

        }

        if (!((UnitGroupCount(UnitGroupFilter("RoachBurrowed", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson02.sc2mapMapScript.galaxy:1629

    }
    while (true) {
        auto17484C82_g = UnitGroupFilter(null, c_playerAny, lv_doomedUnits, UnitFilter(0, 0, 0, 0), 10);
        auto17484C82_u = UnitGroupCount(auto17484C82_g, c_unitCountAll);
        for (;; auto17484C82_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:1754

    UnitGroupIssueOrder(UnitGroup(null, gv_p2_DOMINION_RED, RegionFromId(27), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1949)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitGroup(null, gv_p2_DOMINION_RED, RegionFromId(38), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(2615)), c_orderQueueReplace);
    auto2D370052_g = UnitGroupFilter("Firebat", c_playerAny, gv_riksvilleTownSquareDominion, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto2D370052_u = UnitGroupCount(auto2D370052_g, c_unitCountAll);
    for (;; auto2D370052_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor01.sc2mapMapScript.galaxy:2240


    TriggerEnable(TriggerGetCurrent(), false);
    auto78EC0DC4_g = UnitGroupFilter("Marine", gv_p2_DOMINION_RED, gv_escapeJerks, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto78EC0DC4_u = UnitGroupCount(auto78EC0DC4_g, c_unitCountAll);
    for (;; auto78EC0DC4_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:1525


    }
    lv_searcher = libNtve_gf_ClosestUnitToPoint(RegionGetCenter(RegionFromId(46)), UnitGroupFilter(null, c_playerAny, lv_victims, UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32))), 0));
    if ((UnitIsAlive(lv_searcher) == false)) {
        return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:2236

    }

    lv_patrolGroup = UnitGroupFilter(null, gv_p6_DOMINION_ORANGE, gv_cellBlockAJerksGroup, UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMechanical) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    while (true) {
        Wait(1.0, c_timeGame);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03a.sc2mapMapScript.galaxy:2333

    TriggerEnable(TriggerGetCurrent(), false);
    gv_cellBlockASearching = true;
    lv_patrolGroup = UnitGroupFilter(null, gv_p6_DOMINION_ORANGE, gv_cellBlockAJerksGroup, UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMechanical) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    lv_searcher = libNtve_gf_ClosestUnitToPoint(UnitGetPosition(gv_tosh), lv_patrolGroup);
    UnitIssueOrder(lv_searcher, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh03b.sc2mapMapScript.galaxy:2581


    TriggerEnable(TriggerGetCurrent(), false);
    lv_vikings = UnitGroupFilter("VikingFighter", gv_pLAYER02_TOSH, gv_p2LZGuards, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    UnitGroupIssueOrder(lv_vikings, Order(AbilityCommand("AssaultMode", 0)), c_orderQueueReplace);
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2mapMapScript.galaxy:2156


        lv_enemies = UnitGroupAlliance(gv_p2_ZERG, c_unitAllianceEnemy, RegionFromId(63), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        if ((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0), c_unitCountAlive) > 1)) {
            lv_target = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(gv_artifact), UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0)));
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus01.sc2mapMapScript.galaxy:2157

        lv_enemies = UnitGroupAlliance(gv_p2_ZERG, c_unitAllianceEnemy, RegionFromId(63), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        if ((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0), c_unitCountAlive) > 1)) {
            lv_target = UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(gv_artifact), UnitGroupFilter(null, c_playerAny, lv_enemies, UnitFilter((1 << c_targetFilterGround), 0, 0, 0), 0)));
        }
        else {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2mapMapScript.galaxy:321


    // Implementation
    auto689ABB5F_g = UnitGroupFilter(lp_unitType, lp_player, gv_suicidalBullies, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), lp_quantity);
    auto689ABB5F_u = UnitGroupCount(auto689ABB5F_g, c_unitCountAll);
    for (;; auto689ABB5F_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2mapMapScript.galaxy:4987

    UnitGroupRemove(lv_unitGroup, UnitFromId(90));
    UnitGroupRemove(lv_unitGroup, UnitFromId(271));
    auto7211007A_g = UnitGroupFilter(null, gv_p7_ABANDONED_BASE, lv_unitGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto7211007A_u = UnitGroupCount(auto7211007A_g, c_unitCountAll);
    for (;; auto7211007A_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:836

            }

            if ((UnitGroupCount(UnitGroupFilter(lv_type1, c_playerAny, lv_spawnedUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (lv_qty1 * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:854

            }

            if ((UnitGroupCount(UnitGroupFilter(lv_type2, c_playerAny, lv_spawnedUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (lv_qty2 * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lv_location, 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:1410

            }

            if ((UnitGroupCount(UnitGroupFilter("Zergling", c_playerAny, lv_spawnGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (libNtve_gf_DifficultyValueInt(2, 2, 3, 3) * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus03.sc2mapMapScript.galaxy:1425

            }

            if ((UnitGroupCount(UnitGroupFilter(libNtve_gf_DifficultyValueUnitType("Roach", "Roach", "Hydralisk", "Hydralisk"), c_playerAny, lv_spawnGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (1 * lv_maxPacks))) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lv_nydus), 8.0, 100.0, 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:853

        UnitGroupAdd(gv_rumbleVanguard, auto3C06E80C_var);
    }
    auto31C696FB_g = UnitGroupFilter("ZerglingBurrowed", c_playerAny, gv_rumbleVanguard, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto31C696FB_u = UnitGroupCount(auto31C696FB_g, c_unitCountAll);
    for (;; auto31C696FB_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:877

        UnitGroupAdd(gv_rumbleMidguard, autoD8E32DD2_var);
    }
    autoA6CF4A46_g = UnitGroupFilter("CreepTumorBurrowed", c_playerAny, gv_rumbleMidguard, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA6CF4A46_u = UnitGroupCount(autoA6CF4A46_g, c_unitCountAll);
    for (;; autoA6CF4A46_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tzeratul01.sc2mapMapScript.galaxy:891

        UnitGroupAdd(gv_rumbleRearguard, auto18576A0B_var);
    }
    auto53CB19B0_g = UnitGroupFilter("CreepTumorBurrowed", gv_p3_ZERG, gv_rumbleRearguard, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto53CB19B0_u = UnitGroupCount(auto53CB19B0_g, c_unitCountAll);
    for (;; auto53CB19B0_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2mapMapScript.galaxy:900

    }
    UnitGroupLoopEnd();
    UnitGroupLoopBegin(UnitGroupFilter("OrbitalCommand", gv_pLAYER_USER, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    for ( ; !UnitGroupLoopDone() ; UnitGroupLoopStep() ) {
        UnitSetPropertyFixed(UnitGroupLoopCurrent(), c_unitPropEnergyPercent, 100.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2mapMapScript.galaxy:1209

    // Conditions
    if (testConds) {
        if (!((UnitGroupCount(UnitGroupFilter("Ghost", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/terrancovertops.sc2mapMapScript.galaxy:1213

        }

        if (!((UnitGroupCount(UnitGroupFilter("Raven", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2mapMapScript.galaxy:1090

    // Conditions
    if (testConds) {
        if (!((UnitGroupCount(UnitGroupFilter("Infestor", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2mapMapScript.galaxy:1094

        }

        if (!((UnitGroupCount(UnitGroupFilter("InfestorBurrowed", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2mapMapScript.galaxy:1098

        }

        if (!((UnitGroupCount(UnitGroupFilter("Roach", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/challenges/zerginfestation.sc2mapMapScript.galaxy:1102

        }

        if (!((UnitGroupCount(UnitGroupFilter("RoachBurrowed", c_playerAny, gv_playerUnits, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionhydralisk.sc2map/MapScript.galaxy:1077

    Wait(3.0, c_timeReal);
    TransmissionWait(TransmissionLastSent(), 0.0);
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_backupUnits, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.1, c_timeGame);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionroach.sc2map/MapScript.galaxy:1925

    if ((UnitIsAlive(gv_frozenZealot) == false)) {
        lv_zealots = UnitGroup("Zealot", gv_pLAYER_02_PROTOSS, RegionFromId(6), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        lv_zealots = UnitGroupFilter("Zealot", gv_pLAYER_02_PROTOSS, gv_protossInVileArea, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        UnitGroupLoopBegin(lv_zealots);
        while (!UnitGroupLoopDone()) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2map/MapScript.galaxy:973

    Wait(3.0, c_timeReal);
    TransmissionWait(TransmissionLastSent(), 0.0);
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_backupUnits, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.1, c_timeGame);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2map/MapScript.galaxy:1037

    }
    UnitGroupLoopEnd();
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_backupUnits, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.1, c_timeGame);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:871


    // Implementation
    auto76A5C87F_g = UnitGroupFilter(null, c_playerAny, lp_unitGroup, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto76A5C87F_u = UnitGroupCount(auto76A5C87F_g, c_unitCountAll);
    for (;; auto76A5C87F_u -= 1) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition01.sc2map/MapScript.galaxy:883

        }
    }
    auto9FC73900_g = UnitGroupFilter("PhotonCannon", c_playerAny, lp_unitGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto9FC73900_u = UnitGroupCount(auto9FC73900_g, c_unitCountAll);
    for (;; auto9FC73900_u -= 1) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zexpedition02.sc2map/MapScript.galaxy:1288

        }
    }
    gv_feralZergFrozenTotal = UnitGroupCount(UnitGroupFilter(null, c_playerAny, gv_frozenZergGroupGlobal, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:2629

    }
    while (true) {
        auto8D6BBAF6_g = UnitGroupFilter(null, c_playerAny, lv_infestedGroup, UnitFilter(0, 0, 0, 0), 10);
        auto8D6BBAF6_u = UnitGroupCount(auto8D6BBAF6_g, c_unitCountAll);
        for (;; auto8D6BBAF6_u -= 1) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:6531

    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(236), 3.0, -1, 10.0, true);
    libSwaC_gf_SendTransmissionCampaign(null, "zBriefing_Hybrid01|Line00016", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, gv_introDropGroup, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.0625, c_timeReal);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:2451

            libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00007", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
            gv_adjutantDroneBasic = TransmissionLastSent();
            if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
                libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:3948

            libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00047", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
            gv_adjutantSelectLarvaMorphOverlord01 = TransmissionLastSent();
            if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Hatchery", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
                libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4029

                libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00130", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
                gv_adjutantSelectLarvaMorphOverlord02 = TransmissionLastSent();
                if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Larva", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                    libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
                    libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4832

            libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00203", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
            gv_adjutantMorphPool02 = TransmissionLastSent();
            if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
                libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:4913

                libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00204", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
                gv_adjutantMorphPool03 = TransmissionLastSent();
                if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Drone", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                    libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
                    libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:5764

            libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00017", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
            gv_adjutantSelectLarvaMorphZerglings = TransmissionLastSent();
            if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Hatchery", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
                libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:5841

            libSwaC_gf_SendTransmissionCampaign(null, "zMission_Lab01|Line00202", c_transmissionDurationAdd, 0.0, false, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
            gv_adjutantMorphZerglings = TransmissionLastSent();
            if ((libHots_gf_DifficultyValueSwarmBoolean(true, true, false) == true) && (UnitGroupCount(UnitGroupFilter("Larva", gv_pLAYER_01_USER, UnitGroupSelected(gv_pLAYER_01_USER), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                libNtve_gf_DisplayScreenImage(1, "Assets\\Textures\\tutorialcommandcardhighlight.dds", c_triggerBlendModeAdd, 503, 348, c_anchorBottomRight, 5, -2);
                libNtve_gf_PulseScreenImage(1, 1.75, 100.0, 0.0);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:993


    // Implementation
    lv_alpha = UnitGroupUnit(UnitGroupFilter("SpaceCowMedium", gv_pLAYER_02_DOMINION32, gv_quillgorCampCreeps[lp_campIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1);
    if ((UnitIsAlive(lv_alpha) == false)) {
        return ;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:1265

        gv_aIHarvestFirstWave = false;
        lv_currentIndex = 6;
        if (((UnitIsAlive(gv_corpse_PerCamp[lv_currentIndex]) == true) || (libNtve_gf_UnitGroupIsDead(UnitGroupFilter("SpaceCowMedium", gv_pLAYER_02_DOMINION32, gv_quillgorCampCreeps[lv_currentIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1)) == false)) && (gv_quillgorCampHarvestIndex[lv_currentIndex] <= 0) && (gf_CorpseBeingHarvestedByPlayer(lv_currentIndex) == false)) {
            return 6;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:1349

                }
                else {
                    if ((libNtve_gf_UnitGroupIsDead(UnitGroupFilter("SpaceCowMedium", gv_pLAYER_02_DOMINION32, gv_quillgorCampCreeps[lv_currentIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1)) == false)) {
                        lv_quillCampCount += 1;
                        lv_quillCamps[lv_quillCampCount] = lv_currentIndex;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:1366

    for ( ; auto14B93436_var <= auto14B93436_ae; auto14B93436_var += 1 ) {
        lv_currentIndex = auto14B93436_var;
        if (((UnitIsAlive(gv_corpse_PerCamp[lv_currentIndex]) == true) || (libNtve_gf_UnitGroupIsDead(UnitGroupFilter("SpaceCowMedium", gv_pLAYER_02_DOMINION32, gv_quillgorCampCreeps[lv_currentIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1)) == false)) && (gv_quillgorCampHarvestIndex[lv_currentIndex] <= 0) && (gf_CorpseBeingHarvestedByPlayer(lv_currentIndex) == false)) {
            lv_quillCampCount += 1;
            lv_quillCamps[lv_quillCampCount] = lv_currentIndex;

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus01.sc2map/MapScript.galaxy:3151

    libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_Speech);
    libSwaC_gf_SendTransmissionCampaign(gv_tHE_ONE_BRAKK, "zMission_Zerus01|Line00131", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    lv_quillgarAlpha = UnitGroupUnit(UnitGroupFilter("SpaceCowMedium", c_playerAny, gv_quillgorCampCreeps[lv_campIndex], UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1);
    if ((UnitIsAlive(lv_quillgarAlpha) == false)) {
        lv_quillgarAlpha = gv_corpse_PerCamp[lv_campIndex];

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1946

        lv_brakkUnitSpawned = false;
        lv_yagdraUnitSpawned = false;
        if ((UnitGroupCount(UnitGroupFilter("PrimalZergling", gv_pLAYER_02_BRAKK, lv_brakkAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (lv_zerglingAmount - 4)) && (gv_endBrakkSpawns == false)) {
            UnitCreate(4, "PrimalZergling", 0, gv_pLAYER_02_BRAKK, RegionRandomPoint(RegionFromId(20)), 30.0);
            UnitGroupAddUnitGroup(lv_brakkAttackGroup, UnitLastCreatedGroup());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1952

        }

        if ((UnitGroupCount(UnitGroupFilter("PrimalRoach", gv_pLAYER_02_BRAKK, lv_brakkAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lv_hydraRoachAmount) && (gv_endBrakkSpawns == false)) {
            UnitCreate(1, "PrimalRoach", 0, gv_pLAYER_02_BRAKK, RegionRandomPoint(RegionFromId(20)), 30.0);
            UnitGroupAdd(lv_brakkAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1958

        }

        if ((UnitGroupCount(UnitGroupFilter("PrimalHydralisk", gv_pLAYER_02_BRAKK, lv_brakkAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lv_hydraRoachAmount) && (gv_endBrakkSpawns == false)) {
            UnitCreate(1, "PrimalHydralisk", 0, gv_pLAYER_02_BRAKK, RegionRandomPoint(RegionFromId(20)), 30.0);
            UnitGroupAdd(lv_brakkAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1964

        }

        if ((UnitGroupCount(UnitGroupFilter("PrimalUltralisk", gv_pLAYER_02_BRAKK, lv_brakkAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lv_ultraAmount) && (gv_endBrakkSpawns == false)) {
            UnitCreate(1, "PrimalUltralisk", 0, gv_pLAYER_02_BRAKK, RegionRandomPoint(RegionFromId(20)), 30.0);
            UnitGroupAdd(lv_brakkAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1970

        }

        if ((TimerGetRemaining(gv_holdoutTimer) < 900.0) && (UnitGroupCount(UnitGroupFilter("PrimalMutalisk", gv_pLAYER_02_BRAKK, lv_brakkAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < 2) && (gv_endBrakkSpawns == false)) {
            UnitCreate(1, "PrimalMutalisk", 0, gv_pLAYER_02_BRAKK, RegionRandomPoint(RegionFromId(20)), 30.0);
            UnitGroupAdd(lv_brakkAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1976

        }

        if ((UnitGroupCount(UnitGroupFilter("PrimalZergling", gv_pLAYER_03_YAGDRA, lv_yagdraAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < (lv_zerglingAmount - 4))) {
            UnitCreate(4, "PrimalZergling", 0, gv_pLAYER_03_YAGDRA, RegionRandomPoint(RegionFromId(24)), 135.0);
            UnitGroupAddUnitGroup(lv_yagdraAttackGroup, UnitLastCreatedGroup());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1982

        }

        if ((UnitGroupCount(UnitGroupFilter("PrimalRoach", gv_pLAYER_03_YAGDRA, lv_yagdraAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lv_hydraRoachAmount)) {
            UnitCreate(1, "PrimalRoach", 0, gv_pLAYER_03_YAGDRA, RegionRandomPoint(RegionFromId(24)), 135.0);
            UnitGroupAdd(lv_yagdraAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1988

        }

        if ((UnitGroupCount(UnitGroupFilter("PrimalHydralisk", c_playerAny, lv_yagdraAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lv_hydraRoachAmount)) {
            UnitCreate(1, "PrimalHydralisk", 0, gv_pLAYER_03_YAGDRA, RegionRandomPoint(RegionFromId(24)), 135.0);
            UnitGroupAdd(lv_yagdraAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1994

        }

        if ((UnitGroupCount(UnitGroupFilter("PrimalUltralisk", gv_pLAYER_03_YAGDRA, lv_yagdraAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < lv_ultraAmount)) {
            UnitCreate(1, "PrimalUltralisk", 0, gv_pLAYER_03_YAGDRA, RegionRandomPoint(RegionFromId(24)), 135.0);
            UnitGroupAdd(lv_yagdraAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:2000

        }

        if ((TimerGetRemaining(gv_holdoutTimer) < 900.0) && (UnitGroupCount(UnitGroupFilter("PrimalMutalisk", gv_pLAYER_03_YAGDRA, lv_yagdraAttackGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < 2)) {
            UnitCreate(1, "PrimalMutalisk", 0, gv_pLAYER_03_YAGDRA, RegionRandomPoint(RegionFromId(24)), 135.0);
            UnitGroupAdd(lv_yagdraAttackGroup, UnitLastCreated());

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:2285

    TimerStart(lv_cooldownTimer, 11.0, false, c_timeAI);
    Wait(4.0, c_timeAI);
    autoAB6CB8FB_g = UnitGroupFilter("MonlythArtifactForceField", c_playerAny, gv_s1_TeachBlink_Forcefields, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoAB6CB8FB_u = UnitGroupCount(autoAB6CB8FB_g, c_unitCountAll);
    for (;; autoAB6CB8FB_u -= 1) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6537

        lv_archonCap = 1;
    }
    if ((UnitGroupCount(UnitGroupFilter("HybridDestroyer", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_hybridCap)) {
        gf_WarpInHybridDestroyeratPoint(RegionRandomPoint(RegionFromId(166)));
        Wait(0.25, c_timeGame);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6542

    }

    if ((UnitGroupCount(UnitGroupFilter("Zealot", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("ShadowOfTheVoidZealot", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_zealotCap)) {
        gf_ResidualVortexSpawnUnitAtPoint("ShadowOfTheVoidZealot", gv_s3ResidualVortexForwardUnit02, RegionRandomPoint(RegionFromId(166)));
        Wait(0.25, c_timeGame);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6542

    }

    if ((UnitGroupCount(UnitGroupFilter("Zealot", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("ShadowOfTheVoidZealot", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_zealotCap)) {
        gf_ResidualVortexSpawnUnitAtPoint("ShadowOfTheVoidZealot", gv_s3ResidualVortexForwardUnit02, RegionRandomPoint(RegionFromId(166)));
        Wait(0.25, c_timeGame);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6547

    }

    if ((UnitGroupCount(UnitGroupFilter("Stalker", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("ShadowOfTheVoidStalker", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_stalkerCap)) {
        gf_ResidualVortexSpawnUnitAtPoint("ShadowOfTheVoidStalker", gv_s3ResidualVortexForwardUnit02, RegionRandomPoint(RegionFromId(166)));
        Wait(0.25, c_timeGame);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6547

    }

    if ((UnitGroupCount(UnitGroupFilter("Stalker", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("ShadowOfTheVoidStalker", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_stalkerCap)) {
        gf_ResidualVortexSpawnUnitAtPoint("ShadowOfTheVoidStalker", gv_s3ResidualVortexForwardUnit02, RegionRandomPoint(RegionFromId(166)));
        Wait(0.25, c_timeGame);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6552

    }

    if ((UnitGroupCount(UnitGroupFilter("Zealot", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("Stalker", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("ShadowOfTheVoidArchon", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_archonCap)) {
        gf_ResidualVortexSpawnUnitAtPoint("ShadowOfTheVoidArchon", gv_s3ResidualVortexForwardUnit02, RegionRandomPoint(RegionFromId(166)));
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6552

    }

    if ((UnitGroupCount(UnitGroupFilter("Zealot", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("Stalker", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("ShadowOfTheVoidArchon", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_archonCap)) {
        gf_ResidualVortexSpawnUnitAtPoint("ShadowOfTheVoidArchon", gv_s3ResidualVortexForwardUnit02, RegionRandomPoint(RegionFromId(166)));
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6552

    }

    if ((UnitGroupCount(UnitGroupFilter("Zealot", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("Stalker", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) == 0) && (UnitGroupCount(UnitGroupFilter("ShadowOfTheVoidArchon", c_playerAny, gv_s3FinalStretchEnemyGroup1, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_archonCap)) {
        gf_ResidualVortexSpawnUnitAtPoint("ShadowOfTheVoidArchon", gv_s3ResidualVortexForwardUnit02, RegionRandomPoint(RegionFromId(166)));
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue03.sc2map/MapScript.galaxy:6607

        lv_archonCap = 1;
    }
    if ((UnitGroupCount(UnitGroupFilter("HybridDestroyer", c_playerAny, gv_s3FinalStretchEnemyGroup2, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0), c_unitCountAlive) < lv_hybridCap)) {
        gf_WarpInHybridDestroyeratPoint(RegionRandomPoint(RegionFromId(96)));
        Wait(0.25, c_timeGame);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionhydralisk.sc2mapMapScript.galaxy:1077

    Wait(3.0, c_timeReal);
    TransmissionWait(TransmissionLastSent(), 0.0);
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_backupUnits, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.1, c_timeGame);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionroach.sc2mapMapScript.galaxy:1925

    if ((UnitIsAlive(gv_frozenZealot) == false)) {
        lv_zealots = UnitGroup("Zealot", gv_pLAYER_02_PROTOSS, RegionFromId(6), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        lv_zealots = UnitGroupFilter("Zealot", gv_pLAYER_02_PROTOSS, gv_protossInVileArea, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        UnitGroupLoopBegin(lv_zealots);
        while (!UnitGroupLoopDone()) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionultralisk.sc2mapMapScript.galaxy:973

    Wait(3.0, c_timeReal);
    TransmissionWait(TransmissionLastSent(), 0.0);
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_backupUnits, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.1, c_timeGame);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionzergling.sc2mapMapScript.galaxy:1037

    }
    UnitGroupLoopEnd();
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, lv_backupUnits, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.1, c_timeGame);
    }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2mapMapScript.galaxy:871


    // Implementation
    auto76A5C87F_g = UnitGroupFilter(null, c_playerAny, lp_unitGroup, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto76A5C87F_u = UnitGroupCount(auto76A5C87F_g, c_unitCountAll);
    for (;; auto76A5C87F_u -= 1) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition01.sc2mapMapScript.galaxy:883

        }
    }
    auto9FC73900_g = UnitGroupFilter("PhotonCannon", c_playerAny, lp_unitGroup, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto9FC73900_u = UnitGroupCount(auto9FC73900_g, c_unitCountAll);
    for (;; auto9FC73900_u -= 1) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zexpedition02.sc2mapMapScript.galaxy:1288

        }
    }
    gv_feralZergFrozenTotal = UnitGroupCount(UnitGroupFilter(null, c_playerAny, gv_frozenZergGroupGlobal, UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
    return true;
}

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:2629

    }
    while (true) {
        auto8D6BBAF6_g = UnitGroupFilter(null, c_playerAny, lv_infestedGroup, UnitFilter(0, 0, 0, 0), 10);
        auto8D6BBAF6_u = UnitGroupCount(auto8D6BBAF6_g, c_unitCountAll);
        for (;; auto8D6BBAF6_u -= 1) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2mapMapScript.galaxy:6531

    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(236), 3.0, -1, 10.0, true);
    libSwaC_gf_SendTransmissionCampaign(null, "zBriefing_Hybrid01|Line00016", c_transmissionDurationAdd, 0.0, true, libSwaC_ge_CampaignTransmissionPortraitOptioins_HidePortraitAfter, libSwaC_ge_CampaignTransmissionCueSoundOptions_DefaultCueSoundBehavior);
    while (!((UnitGroupCount(UnitGroupFilter(null, c_playerAny, gv_introDropGroup, UnitFilter(0, (1 << (c_targetFilterHidden - 32)), 0, 0), 0), c_unitCountAlive) == 0))) {
        Wait(0.0625, c_timeReal);
    }