# Triggering Region

Grammar — Triggering region
FlagsNative | Function

Returns the triggering region. Use in response to “Unit Enters/Leaves Region”.

Returns — region

native region EventUnitRegion();

# Supported triggers

Category: Unit / Basic

# Examples

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

    }

    if ((EventUnitRegion() == RegionFromId(9)) && (gv_area01Revealed == false)) {
        gv_area01Revealed = true;
        autoA6EA8ACF_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(9), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(10)) && (gv_area02Revealed == false)) {
        gv_area02Revealed = true;
        autoB8D9D4A8_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(10), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(28)) && (gv_area03Revealed == false)) {
        gv_area03Revealed = true;
        auto9BE60079_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(28), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(11)) && (gv_area04Revealed == false)) {
        gv_area04Revealed = true;
        autoFB06523C_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(11), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(12)) && (gv_area05Revealed == false)) {
        gv_area05Revealed = true;
        autoEB251BDE_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(12), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(39)) && (gv_area06Revealed == false)) {
        gv_area06Revealed = true;
        auto5B150902_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(39), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(1)) && (gv_area07Revealed == false)) {
        gv_area07Revealed = true;
        autoABD149CF_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(1), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(22)) && (gv_area08Revealed == false)) {
        gv_area08Revealed = true;
        auto5558968A_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(22), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(13)) && (gv_area09Revealed == false)) {
        gv_area09Revealed = true;
        autoDF6A7862_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(13), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(21)) && (gv_area10Revealed == false)) {
        gv_area10Revealed = true;
        autoC5D47FFA_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(21), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3512


    TriggerEnable(TriggerGetCurrent(), false);
    autoE3E72505_g = UnitGroup("Colonist", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoE3E72505_u = UnitGroupCount(autoE3E72505_g, c_unitCountAll);
    for (;; autoE3E72505_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3519

        UnitBehaviorRemove(autoE3E72505_var, "ColonistWander", 1);
        UnitBehaviorAdd(autoE3E72505_var, "Run", autoE3E72505_var, 1);
        UnitIssueOrder(autoE3E72505_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
    }
    auto3A20565F_g = UnitGroup("ColonistFemale", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3521

        UnitIssueOrder(autoE3E72505_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
    }
    auto3A20565F_g = UnitGroup("ColonistFemale", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto3A20565F_u = UnitGroupCount(auto3A20565F_g, c_unitCountAll);
    for (;; auto3A20565F_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03a.sc2map/MapScript.galaxy:3528

        UnitBehaviorRemove(auto3A20565F_var, "ColonistWander", 1);
        UnitBehaviorAdd(auto3A20565F_var, "Run", auto3A20565F_var, 1);
        UnitIssueOrder(auto3A20565F_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3797


    TriggerEnable(TriggerGetCurrent(), false);
    gv_respawnableSalvage = EventUnitRegion();
    TriggerEnable(gt_RemoveRespawnSalvagePings, true);
    if ((EventUnitRegion() == RegionFromId(5))) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3799

    gv_respawnableSalvage = EventUnitRegion();
    TriggerEnable(gt_RemoveRespawnSalvagePings, true);
    if ((EventUnitRegion() == RegionFromId(5))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(20)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3808

    }

    if ((EventUnitRegion() == RegionFromId(6))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(12)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3817

    }

    if ((EventUnitRegion() == RegionFromId(7))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(13)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3826

    }

    if ((EventUnitRegion() == RegionFromId(9))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(18)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3836


    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/E41F86F3"), null, RegionGetCenter(EventUnitRegion()));
    MinimapPing(PlayerGroupAll(), RegionGetCenter(EventUnitRegion()), 6.0, Color(0.00, 100.00, 0.00));
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner02.sc2map/MapScript.galaxy:3837

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/E41F86F3"), null, RegionGetCenter(EventUnitRegion()));
    MinimapPing(PlayerGroupAll(), RegionGetCenter(EventUnitRegion()), 6.0, Color(0.00, 100.00, 0.00));
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
    libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:937

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_pLAYER04_ZERG, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterItem), (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor03.sc2map/MapScript.galaxy:947

    }

    auto55B27610_g = UnitGroup(null, gv_pLAYER04_ZERG, EventUnitRegion(), UnitFilter((1 << c_targetFilterBuried), 0, 0, 0), 0);
    auto55B27610_u = UnitGroupCount(auto55B27610_g, c_unitCountAll);
    for (;; auto55B27610_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh01.sc2map/MapScript.galaxy:1420

    }

    lv_triggeringRegion = EventUnitRegion();
    auto7DD3870B_g = UnitGroup(null, gv_p02_ZERG, lv_triggeringRegion, UnitFilter(0, 0, 0, 0), 0);
    auto7DD3870B_u = UnitGroupCount(auto7DD3870B_g, c_unitCountAll);

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

        }

        if (!((EventUnitRegion() == gv_kerrigansTarget))) {
            return false;
        }

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

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/campaign/ttychus03.sc2map/MapScript.galaxy:3339

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/campaign/ttychus03.sc2map/MapScript.galaxy:3459

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/campaign/ttychus03.sc2map/MapScript.galaxy:3703

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/campaign/ttychus03.sc2map/MapScript.galaxy:4550

    }

    auto599B93FA_val = EventUnitRegion();
    if (auto599B93FA_val == RegionFromId(53)) {
        lv_pathIndex = 1;

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

    }

    gf_StalkerReinforcements(EventUnitRegion(), libNtve_gf_DifficultyValueInt(4, 4, 4, 3));
    return true;
}

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

    }

    gf_StalkerReinforcements(EventUnitRegion(), libNtve_gf_DifficultyValueInt(4, 4, 4, 3));
    return true;
}

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

    }

    gf_StalkerReinforcements(EventUnitRegion(), libNtve_gf_DifficultyValueInt(5, 5, 5, 4));
    return true;
}

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

    }

    if ((EventUnitRegion() == RegionFromId(9)) && (gv_area01Revealed == false)) {
        gv_area01Revealed = true;
        autoA6EA8ACF_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(9), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(10)) && (gv_area02Revealed == false)) {
        gv_area02Revealed = true;
        autoB8D9D4A8_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(10), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(28)) && (gv_area03Revealed == false)) {
        gv_area03Revealed = true;
        auto9BE60079_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(28), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(11)) && (gv_area04Revealed == false)) {
        gv_area04Revealed = true;
        autoFB06523C_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(11), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(12)) && (gv_area05Revealed == false)) {
        gv_area05Revealed = true;
        autoEB251BDE_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(12), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(39)) && (gv_area06Revealed == false)) {
        gv_area06Revealed = true;
        auto5B150902_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(39), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(1)) && (gv_area07Revealed == false)) {
        gv_area07Revealed = true;
        autoABD149CF_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(1), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(22)) && (gv_area08Revealed == false)) {
        gv_area08Revealed = true;
        auto5558968A_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(22), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(13)) && (gv_area09Revealed == false)) {
        gv_area09Revealed = true;
        autoDF6A7862_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(13), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    if ((EventUnitRegion() == RegionFromId(21)) && (gv_area10Revealed == false)) {
        gv_area10Revealed = true;
        autoC5D47FFA_g = UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionFromId(21), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2mapMapScript.galaxy:3512


    TriggerEnable(TriggerGetCurrent(), false);
    autoE3E72505_g = UnitGroup("Colonist", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoE3E72505_u = UnitGroupCount(autoE3E72505_g, c_unitCountAll);
    for (;; autoE3E72505_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2mapMapScript.galaxy:3519

        UnitBehaviorRemove(autoE3E72505_var, "ColonistWander", 1);
        UnitBehaviorAdd(autoE3E72505_var, "Run", autoE3E72505_var, 1);
        UnitIssueOrder(autoE3E72505_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
    }
    auto3A20565F_g = UnitGroup("ColonistFemale", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2mapMapScript.galaxy:3521

        UnitIssueOrder(autoE3E72505_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
    }
    auto3A20565F_g = UnitGroup("ColonistFemale", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto3A20565F_u = UnitGroupCount(auto3A20565F_g, c_unitCountAll);
    for (;; auto3A20565F_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thanson03a.sc2mapMapScript.galaxy:3528

        UnitBehaviorRemove(auto3A20565F_var, "ColonistWander", 1);
        UnitBehaviorAdd(auto3A20565F_var, "Run", auto3A20565F_var, 1);
        UnitIssueOrder(auto3A20565F_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("ColonistShip", gv_pLAYER03_COLONIST, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
    }
    return true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3797


    TriggerEnable(TriggerGetCurrent(), false);
    gv_respawnableSalvage = EventUnitRegion();
    TriggerEnable(gt_RemoveRespawnSalvagePings, true);
    if ((EventUnitRegion() == RegionFromId(5))) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3799

    gv_respawnableSalvage = EventUnitRegion();
    TriggerEnable(gt_RemoveRespawnSalvagePings, true);
    if ((EventUnitRegion() == RegionFromId(5))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(20)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3808

    }

    if ((EventUnitRegion() == RegionFromId(6))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(12)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3817

    }

    if ((EventUnitRegion() == RegionFromId(7))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(13)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3826

    }

    if ((EventUnitRegion() == RegionFromId(9))) {
        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(18)));
        gv_respawnSalvagePingActor1 = libNtve_gf_ActorLastCreated();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3836


    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/E41F86F3"), null, RegionGetCenter(EventUnitRegion()));
    MinimapPing(PlayerGroupAll(), RegionGetCenter(EventUnitRegion()), 6.0, Color(0.00, 100.00, 0.00));
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner02.sc2mapMapScript.galaxy:3837

    TriggerQueueEnter();
    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/E41F86F3"), null, RegionGetCenter(EventUnitRegion()));
    MinimapPing(PlayerGroupAll(), RegionGetCenter(EventUnitRegion()), 6.0, Color(0.00, 100.00, 0.00));
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
    libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:937

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_pLAYER04_ZERG, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterItem), (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0))) {
            return false;
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor03.sc2mapMapScript.galaxy:947

    }

    auto55B27610_g = UnitGroup(null, gv_pLAYER04_ZERG, EventUnitRegion(), UnitFilter((1 << c_targetFilterBuried), 0, 0, 0), 0);
    auto55B27610_u = UnitGroupCount(auto55B27610_g, c_unitCountAll);
    for (;; auto55B27610_u -= 1) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttosh01.sc2mapMapScript.galaxy:1420

    }

    lv_triggeringRegion = EventUnitRegion();
    auto7DD3870B_g = UnitGroup(null, gv_p02_ZERG, lv_triggeringRegion, UnitFilter(0, 0, 0, 0), 0);
    auto7DD3870B_u = UnitGroupCount(auto7DD3870B_g, c_unitCountAll);

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

        }

        if (!((EventUnitRegion() == gv_kerrigansTarget))) {
            return false;
        }

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

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/ttychus03.sc2mapMapScript.galaxy:3339

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/ttychus03.sc2mapMapScript.galaxy:3459

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/ttychus03.sc2mapMapScript.galaxy:3703

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p06_MOEBIUS_SEC_FORCE, EventUnitRegion(), 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/ttychus03.sc2mapMapScript.galaxy:4550

    }

    auto599B93FA_val = EventUnitRegion();
    if (auto599B93FA_val == RegionFromId(53)) {
        lv_pathIndex = 1;

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

    }

    gf_StalkerReinforcements(EventUnitRegion(), libNtve_gf_DifficultyValueInt(4, 4, 4, 3));
    return true;
}

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

    }

    gf_StalkerReinforcements(EventUnitRegion(), libNtve_gf_DifficultyValueInt(4, 4, 4, 3));
    return true;
}

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

    }

    gf_StalkerReinforcements(EventUnitRegion(), libNtve_gf_DifficultyValueInt(5, 5, 5, 4));
    return true;
}

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2map/MapScript.galaxy:2211


    TriggerEnable(TriggerGetCurrent(), false);
    gf_HunterRescueBanelings(EventUnitRegion());
    gv_backupPoint = PointFromId(1152);
    PingDestroy(gv_hunterRescuePings[1]);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2map/MapScript.galaxy:2513


    TriggerEnable(TriggerGetCurrent(), false);
    gf_HunterRescueBanelings(EventUnitRegion());
    gv_backupPoint = PointFromId(1153);
    PingDestroy(gv_hunterRescuePings[2]);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2map/MapScript.galaxy:2813


    TriggerEnable(TriggerGetCurrent(), false);
    gf_HunterRescueBanelings(EventUnitRegion());
    gv_backupPoint = PointFromId(1154);
    PingDestroy(gv_hunterRescuePings[3]);

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


    TriggerEnable(TriggerGetCurrent(), false);
    if ((gf_SupplyValueOfUnitGroup(UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)) > gf_SupplyValueOfUnitGroup(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(EventUnit()), 16.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))) {
        TriggerQueueEnter();
        libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_Speech);

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


    TriggerEnable(TriggerGetCurrent(), false);
    if ((gf_SupplyValueOfUnitGroup(UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)) > gf_SupplyValueOfUnitGroup(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(EventUnit()), 16.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))) {
        TriggerQueueEnter();
        libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_Speech);

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

        }
        Wait(45.0, c_timeGame);
        while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32))), 1), c_unitCountAlive) > 0))) {
            Wait(0.9, c_timeGame);
        }

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

        }
        Wait(45.0, c_timeGame);
        while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32))), 1), c_unitCountAlive) > 0))) {
            Wait(0.9, c_timeGame);
        }

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

        }
        Wait(RandomFixed(45.0, 90.0), c_timeGame);
        while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
            Wait(0.9, c_timeGame);
        }

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

    }

    autoC52CAB03_g = UnitGroup(null, gv_pLAYER_07_FROZENZERG, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoC52CAB03_u = UnitGroupCount(autoC52CAB03_g, c_unitCountAll);
    for (;; autoC52CAB03_u -= 1) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2027

        }

        if (!((UnitGroupCount(UnitGroup("Beacon_Zerg", 0, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2037

    }

    gv_templeDefensePoint = RegionGetCenter(EventUnitRegion());
    autoF3026113_val = EventUnitRegion();
    if (autoF3026113_val == RegionFromId(29)) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2038


    gv_templeDefensePoint = RegionGetCenter(EventUnitRegion());
    autoF3026113_val = EventUnitRegion();
    if (autoF3026113_val == RegionFromId(29)) {
        lv_templePoint = PointFromId(849);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2067

        return true;
    }
    lv_beaconPoint = UnitGetPosition(UnitGroupUnit(UnitGroup("Beacon_Zerg", c_playerAny, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));
    auto9A6E41BA_g = UnitGroup("Beacon_Zerg", c_playerAny, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto9A6E41BA_u = UnitGroupCount(auto9A6E41BA_g, c_unitCountAll);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2068

    }
    lv_beaconPoint = UnitGetPosition(UnitGroupUnit(UnitGroup("Beacon_Zerg", c_playerAny, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), 1));
    auto9A6E41BA_g = UnitGroup("Beacon_Zerg", c_playerAny, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto9A6E41BA_u = UnitGroupCount(auto9A6E41BA_g, c_unitCountAll);
    for (;; auto9A6E41BA_u -= 1) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:2077

    gf_SetNullZoneDirection(ge_PRESET_MovementDirection_Stopped);
    libNtve_gf_MakeUnitUncommandable(gv_stukov, true);
    UnitIssueOrder(gv_stukov, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(EventUnitRegion())), c_orderQueueReplace);
    Wait(1.0, c_timeAI);
    UnitIssueOrder(gv_stukov, OrderTargetingPoint(AbilityCommand("move", 4), lv_templePoint), c_orderQueueAddToEnd);

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:2901

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile) | (1 << c_targetFilterBuried), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32)) | (1 << (c_targetFilterSummoned - 32))), 0), c_unitCountAlive) >= 5))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:2912


    Wait(1.5, c_timeGame);
    autoAD8CB3EE_val = EventUnitRegion();
    if (autoAD8CB3EE_val == RegionFromId(19)) {
        if ((gv_outpostDrop[1] == false)) {

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:3304

    }

    if ((EventUnitRegion() == RegionFromId(46))) {
        UnitSetPosition(EventUnit(), PointFromId(1411), false);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:3308

    }

    if ((EventUnitRegion() == RegionFromId(47))) {
        UnitSetPosition(EventUnit(), PointFromId(1410), false);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:3312

    }

    if ((EventUnitRegion() == RegionFromId(48))) {
        UnitSetPosition(EventUnit(), PointFromId(1081), false);
    }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:2386

        }

        if (!(((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_KERRIGAN_S01, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_KERRIGAN_S02, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_07_KERRIGAN_S03, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:2386

        }

        if (!(((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_KERRIGAN_S01, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_KERRIGAN_S02, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_07_KERRIGAN_S03, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)))) {
            return false;
        }

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:2386

        }

        if (!(((UnitGroupCount(UnitGroup(null, gv_pLAYER_05_KERRIGAN_S01, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_06_KERRIGAN_S02, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) || (UnitGroupCount(UnitGroup(null, gv_pLAYER_07_KERRIGAN_S03, EventUnitRegion(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2mapMapScript.galaxy:2211


    TriggerEnable(TriggerGetCurrent(), false);
    gf_HunterRescueBanelings(EventUnitRegion());
    gv_backupPoint = PointFromId(1152);
    PingDestroy(gv_hunterRescuePings[1]);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2mapMapScript.galaxy:2513


    TriggerEnable(TriggerGetCurrent(), false);
    gf_HunterRescueBanelings(EventUnitRegion());
    gv_backupPoint = PointFromId(1153);
    PingDestroy(gv_hunterRescuePings[2]);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/evolution/zevolutionbaneling.sc2mapMapScript.galaxy:2813


    TriggerEnable(TriggerGetCurrent(), false);
    gf_HunterRescueBanelings(EventUnitRegion());
    gv_backupPoint = PointFromId(1154);
    PingDestroy(gv_hunterRescuePings[3]);

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


    TriggerEnable(TriggerGetCurrent(), false);
    if ((gf_SupplyValueOfUnitGroup(UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)) > gf_SupplyValueOfUnitGroup(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(EventUnit()), 16.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))) {
        TriggerQueueEnter();
        libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_Speech);

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


    TriggerEnable(TriggerGetCurrent(), false);
    if ((gf_SupplyValueOfUnitGroup(UnitGroupAlliance(gv_pLAYER_01_USER, c_unitAllianceEnemy, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)) > gf_SupplyValueOfUnitGroup(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(EventUnit()), 16.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterWorker) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))) {
        TriggerQueueEnter();
        libSwaC_gf_SetAllSoundChannelVolumesCampaign(libSwaC_ge_VolumeChannelModeCampaign_Speech);

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

        }
        Wait(45.0, c_timeGame);
        while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32))), 1), c_unitCountAlive) > 0))) {
            Wait(0.9, c_timeGame);
        }

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

        }
        Wait(45.0, c_timeGame);
        while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterSummoned - 32))), 1), c_unitCountAlive) > 0))) {
            Wait(0.9, c_timeGame);
        }

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

        }
        Wait(RandomFixed(45.0, 90.0), c_timeGame);
        while (!((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
            Wait(0.9, c_timeGame);
        }

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

    }

    autoC52CAB03_g = UnitGroup(null, gv_pLAYER_07_FROZENZERG, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoC52CAB03_u = UnitGroupCount(autoC52CAB03_g, c_unitCountAll);
    for (;; autoC52CAB03_u -= 1) {

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:2027

        }

        if (!((UnitGroupCount(UnitGroup("Beacon_Zerg", 0, EventUnitRegion(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), c_unitCountAlive) > 0))) {
            return false;
        }

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2mapMapScript.galaxy:2037

    }

    gv_templeDefensePoint = RegionGetCenter(EventUnitRegion());
    autoF3026113_val = EventUnitRegion();
    if (autoF3026113_val == RegionFromId(29)) {