# Playable Map Area

Grammar — Playable map area
FlagsNative | Function

Returns the playable map area.

Returns — region

native region RegionPlayableMap();

Category: Region / Useful Regions

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1035

    TriggerExecute(gt_InitInfestationData, true, false);
    UnitSetPropertyFixed(UnitFromId(163), c_unitPropEnergy, 50.0);
    auto662D39EC_g = UnitGroup("CarrionBird", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto662D39EC_u = UnitGroupCount(auto662D39EC_g, c_unitCountAll);
    for (;; auto662D39EC_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1057

        libNtve_gf_ShowHideUnit(auto828DBE83_var, false);
    }
    auto8A971C58_g = UnitGroup(null, gv_p05_COLONIST, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto8A971C58_u = UnitGroupCount(auto8A971C58_g, c_unitCountAll);
    for (;; auto8A971C58_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1129

    GameTimeOfDaySet("08:00:00");
    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/2733AFE1"), null, UnitGetPosition(UnitFromId(163)));
    libNtve_gf_ClearAnimationOnDoodadsInRegion(RegionPlayableMap(), "HavenTree", "Stand");
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "HavenTree", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "CreepCloud", c_animNameDefault, "Dead", c_animFlagPlayForever, c_animTimeDefault);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1130

    UIAlertPoint("Trigger", gv_p01_USER, StringExternal("Param/Value/2733AFE1"), null, UnitGetPosition(UnitFromId(163)));
    libNtve_gf_ClearAnimationOnDoodadsInRegion(RegionPlayableMap(), "HavenTree", "Stand");
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "HavenTree", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "CreepCloud", c_animNameDefault, "Dead", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "CreepSporeEmitter", c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1131

    libNtve_gf_ClearAnimationOnDoodadsInRegion(RegionPlayableMap(), "HavenTree", "Stand");
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "HavenTree", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "CreepCloud", c_animNameDefault, "Dead", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "CreepSporeEmitter", c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);
    RegionPlayableMapSet(RegionFromId(1));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:1132

    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "HavenTree", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "CreepCloud", c_animNameDefault, "Dead", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "CreepSporeEmitter", c_animNameDefault, "Stand", c_animFlagPlayForever, c_animTimeDefault);
    RegionPlayableMapSet(RegionFromId(1));
    libLbty_gf_AutoRevealRegion(RegionFromId(46), RegionFromId(18), gv_p01_USER);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson03b.sc2map/MapScript.galaxy:3592

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, 0, 0), 0), c_unitCountAlive) == 0))) {
            return false;
        }

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

        libNtve_gf_ShowHideUnit(autoAC6F62B3_var, false);
    }
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "PortZionCrusherDoodad", c_animNameDefault, "Stand Work", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionEntireMap(), "PortZionScrapElevatorLeft", c_animNameDefault, "Morph", c_animFlagNonLooping, c_animTimeDefault);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionEntireMap(), "PortZionScrapElevatorRight", c_animNameDefault, "Morph", c_animFlagNonLooping, c_animTimeDefault);

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

    GameTimeOfDayPause(true);
    AIToggleBulliesInRegion(gv_p02_ORLAN_ENEMY, RegionEntireMap(), false);
    auto8AB4EA80_g = UnitGroup(null, gv_p02_ORLAN_ENEMY, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto8AB4EA80_u = UnitGroupCount(auto8AB4EA80_g, c_unitCountAll);
    for (;; auto8AB4EA80_u -= 1) {

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

        UnitGroupAdd(gv_briefingHiddenUnits, auto8AB4EA80_var);
    }
    auto654E6C0B_g = UnitGroup(null, gv_p03_MIRA_HAN, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto654E6C0B_u = UnitGroupCount(auto654E6C0B_g, c_unitCountAll);
    for (;; auto654E6C0B_u -= 1) {

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

    // Transmission - SoundLink("THorner02Han00022", 0)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("THorner02Han00022", -1), c_transmissionDurationAdd, 0.0, true);
    autoCCE1CD7E_g = UnitGroup(null, gv_p03_MIRA_HAN, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoCCE1CD7E_u = UnitGroupCount(autoCCE1CD7E_g, c_unitCountAll);
    for (;; autoCCE1CD7E_u -= 1) {

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

        libNtve_gf_ShowHideUnit(auto869335E3_var, false);
    }
    auto374CDA3E_g = UnitGroup(null, gv_p02_ORLAN_ENEMY, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto374CDA3E_u = UnitGroupCount(auto374CDA3E_g, c_unitCountAll);
    for (;; auto374CDA3E_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:430

    }

    autoD9E2A2C7_g = UnitGroup("DevourerTissueSampleTube", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoD9E2A2C7_u = UnitGroupCount(autoD9E2A2C7_g, c_unitCountAll);
    for (;; autoD9E2A2C7_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:1728


    }
    autoDCA2395B_g = UnitGroup("Wraith", gv_p01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoDCA2395B_u = UnitGroupCount(autoDCA2395B_g, c_unitCountAll);
    for (;; autoDCA2395B_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:916

    gv_statueBullhorns[5] = UnitFromId(217);
    gv_statueBullhorns[6] = UnitFromId(215);
    autoF69A218C_g = UnitGroup("Beacon_Terran", 0, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
    autoF69A218C_u = UnitGroupCount(autoF69A218C_g, c_unitCountAll);
    for (;; autoF69A218C_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:943

    UnitIssueOrder(UnitFromId(963), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    UnitSetTeamColorIndex(UnitFromId(1081), 1);
    auto604BE6FC_g = UnitGroup("LogisticsHeadquarters", gv_p08_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto604BE6FC_u = UnitGroupCount(auto604BE6FC_g, c_unitCountAll);
    for (;; auto604BE6FC_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2811

    }

    auto82494D70_g = UnitGroupFilterRegion(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    auto82494D70_u = UnitGroupCount(auto82494D70_g, c_unitCountAll);
    for (;; auto82494D70_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:2823

    UnitSetState(gv_warbot, c_unitStateHighlightable, true);
    UnitSetState(gv_warbot, c_unitStateStatusBar, true);
    auto2D28BE19_g = UnitGroupFilterRegion(UnitGroup(null, gv_p07_NEUTRAL, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterRobotic) | (1 << c_targetFilterMechanical) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    auto2D28BE19_u = UnitGroupCount(auto2D28BE19_g, c_unitCountAll);
    for (;; auto2D28BE19_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3078

    libNtve_gf_HideGameUI(false, PlayerGroupAll());
    libNtve_gf_StoreUnitSelection(gv_p01_USER, libNtve_ge_UnitSelectionStoreOption_DoNotClearUnitSelection);
    autoC1CCDDDD_g = UnitGroupFilterRegion(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    autoC1CCDDDD_u = UnitGroupCount(autoC1CCDDDD_g, c_unitCountAll);
    for (;; autoC1CCDDDD_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:3979

    UIAlertClear(gv_p01_USER);
    TransmissionClearAll();
    autoA9DE0D84_g = UnitGroupFilterRegion(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    autoA9DE0D84_u = UnitGroupCount(autoA9DE0D84_g, c_unitCountAll);
    for (;; autoA9DE0D84_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:4795

    gv_computerInUse = true;
    TransmissionClearAll();
    auto566A582C_g = UnitGroupFilterRegion(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    auto566A582C_u = UnitGroupCount(auto566A582C_g, c_unitCountAll);
    for (;; auto566A582C_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5038

    TransmissionClearAll();
    libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Game);
    auto18999A7B_g = UnitGroupFilterRegion(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    auto18999A7B_u = UnitGroupCount(auto18999A7B_g, c_unitCountAll);
    for (;; auto18999A7B_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5237

    gv_computerInUse = true;
    TransmissionClearAll();
    autoBBC4CB69_g = UnitGroupFilterRegion(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    autoBBC4CB69_u = UnitGroupCount(autoBBC4CB69_g, c_unitCountAll);
    for (;; autoBBC4CB69_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:5727

    SoundPlay(gv_soundTerminalButtonPush, PlayerGroupAll(), 100.0, 0.0);
    libNtve_gf_HideGameUI(false, PlayerGroupAll());
    auto2E39B59B_g = UnitGroupFilterRegion(UnitGroup(null, c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    auto2E39B59B_u = UnitGroupCount(auto2E39B59B_g, c_unitCountAll);
    for (;; auto2E39B59B_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:11135

    }

    auto0A4F3B12_g = UnitGroupFilterRegion(UnitGroup(null, gv_p02_DOMINION, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    auto0A4F3B12_u = UnitGroupCount(auto0A4F3B12_g, c_unitCountAll);
    for (;; auto0A4F3B12_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner05s.sc2map/MapScript.galaxy:11142

        libNtve_gf_ShowHideUnit(auto0A4F3B12_var, false);
    }
    auto74A14EAF_g = UnitGroupFilterRegion(UnitGroup(null, gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0);
    auto74A14EAF_u = UnitGroupCount(auto74A14EAF_g, c_unitCountAll);
    for (;; auto74A14EAF_u -= 1) {

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

    }

    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1) && (UnitGroupCount(UnitGroup(null, gv_p2_DOMINION_RED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
        AchievementAward(gv_p1_USER, "TRaynor01_3");
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/traynor02.sc2map/MapScript.galaxy:1832

        }

        if (!((UnitGroupCount(UnitGroup("Marine", gv_pLAYER_01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 12))) {
            return false;
        }

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

    libNtve_gf_GlobalCinematicSetting(true);
    UIAlertPoint("Trigger", gv_pLAYER01_USER, StringExternal("Param/Value/04D269FC"), null, UnitGetPosition(UnitFromId(23)));
    autoEBA866A8_g = UnitGroup(null, gv_pLAYER06_REBELS, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoEBA866A8_u = UnitGroupCount(autoEBA866A8_g, c_unitCountAll);
    for (;; autoEBA866A8_u -= 1) {

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

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "TRaynor03MusicMain3", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    Wait(30.0, c_timeGame);
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "RainEmitterMedium", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
    libCamp_gf_ChangeAmbience("Ambience_MarSara");
    Wait(30.0, c_timeGame);

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

    GameSetToDLighting("MarSaraCampaignDay");
    GameTimeOfDaySet("12:00:00");
    libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionPlayableMap(), "RainEmitterMedium", c_animNameDefault, "Death", c_animFlagPlayForever, c_animTimeDefault);
    libNtve_gf_SendActorMessageToGameRegion(RegionEntireMap(), "Signal LightPowerDown");
    TextTagShow(gv_bunkerBridgeEastTextTag, PlayerGroupAll(), false);

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

    libNtve_gf_KillModel(gv_bunkerBaseWestPing);
    libNtve_gf_KillModel(gv_bunkerBaseEastPing);
    autoA110474A_g = UnitGroup("Bunker", gv_pLAYER01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA110474A_u = UnitGroupCount(autoA110474A_g, c_unitCountAll);
    for (;; autoA110474A_u -= 1) {

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

        UnitSetState(autoA110474A_var, c_unitStateTooltipable, false);
    }
    auto93B8F44A_g = UnitGroup("Hut", gv_pLAYER09_COLONISTS, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto93B8F44A_u = UnitGroupCount(auto93B8F44A_g, c_unitCountAll);
    for (;; auto93B8F44A_u -= 1) {

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

    lv_mineralHarvesters = UnitGroup("SCV", gv_p01_USER, RegionFromId(1), UnitFilter(0, 0, 0, 0), 0);
    UnitGroupIssueOrder(lv_mineralHarvesters, OrderTargetingUnitGroup(AbilityCommand("SCVHarvest", 0), lv_mineralGroup), c_orderQueueReplace);
    libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionPlayableMap(), gv_p02_ZERG);
    libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionPlayableMap(), gv_p04_ZERG);
    return true;

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

    UnitGroupIssueOrder(lv_mineralHarvesters, OrderTargetingUnitGroup(AbilityCommand("SCVHarvest", 0), lv_mineralGroup), c_orderQueueReplace);
    libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionPlayableMap(), gv_p02_ZERG);
    libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionPlayableMap(), gv_p04_ZERG);
    return true;
}

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

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p02_ZERG, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

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

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p04_ZERG, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0))) {
            return false;
        }

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

    gt_MedicMana = TriggerCreate("gt_MedicMana_Func");
    TriggerEnable(gt_MedicMana, false);
    TriggerAddEventUnitRegion(gt_MedicMana, null, RegionPlayableMap(), true);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:665

    DialogSetVisible(gv_mainDialog, PlayerGroupAll(), false);
    DialogSetVisible(gv_tutorialDialog, PlayerGroupAll(), false);
    libNtve_gf_RemoveDeathModelsinRegion(RegionPlayableMap());
    PortraitSetModel(libNtve_gf_CinematicPortrait(4), "AdjutantPortrait_L", false);
    VisRevealerDestroy(gv_tutorial_Visibility);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:1139

    UnitGroupLoopEnd();
    CameraLockInput(gv_p01_USER, true);
    CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
    CinematicFade(true, 0.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
    TriggerQueueClear(c_triggerQueueRemove);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4102

    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(192));
    UnitClearSelection(gv_p01_USER);
    UnitGroupLoopBegin(UnitGroup("Marine", gv_p01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        UnitSelect(UnitGroupLoopCurrent(), gv_p01_USER, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4174

    Wait(0.5, c_timeGame);
    if ((gv_replay_Transmission_Is_Playing == false)) {
        UnitGroupLoopBegin(UnitGroup("Marine", gv_p02_SIMULATOR, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
        while (!UnitGroupLoopDone()) {
            TriggerExecute(gt__14Combat01LoopMouse, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4290

    TriggerStop(gt__14Combat01LoopMouse);
    libNtve_gf_HideScreenImage(false, 14);
    UnitGroupLoopBegin(UnitGroup("Marine", gv_p02_SIMULATOR, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
    while (!UnitGroupLoopDone()) {
        libNtve_gf_KillModel(ActorFromScope(ActorScopeFromUnit(UnitGroupLoopCurrent()), "ModelHosted"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4385

        }

        if (!((libNtve_gf_UnitGroupIsDead(UnitGroup("Marine", gv_p01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4532

    }
    UnitGroupLoopEnd();
    libNtve_gf_RemoveDeathModelsinRegion(RegionPlayableMap());
    CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(187));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:4950

        }

        if (!((libNtve_gf_UnitGroupIsDead(UnitGroup("Marine", gv_p01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)) == true))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5096

    }
    UnitGroupLoopEnd();
    libNtve_gf_RemoveDeathModelsinRegion(RegionPlayableMap());
    CameraSetBounds(PlayerGroupAll(), RegionFromId(8), true);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(187));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttutorial01.sc2map/MapScript.galaxy:5479

        }

        if (!((libNtve_gf_UnitGroupIsDead(UnitGroup("Marine", gv_p01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)) == true))) {
            return false;
        }

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

    }

    auto178C9D5D_g = UnitGroup(null, gv_p2_NE_PROTOSSMiddle, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto178C9D5D_u = UnitGroupCount(auto178C9D5D_g, c_unitCountAll);
    for (;; auto178C9D5D_u -= 1) {

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

        gv_statProtossRemaining += 1;
    }
    auto97CCAEEE_g = UnitGroup(null, gv_p3_WARPEDINPROTOSS, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto97CCAEEE_u = UnitGroupCount(auto97CCAEEE_g, c_unitCountAll);
    for (;; auto97CCAEEE_u -= 1) {

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

        gv_statProtossRemaining += 1;
    }
    auto2DE8B14F_g = UnitGroup(null, gv_p4_SE_PROTOSSRight, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto2DE8B14F_u = UnitGroupCount(auto2DE8B14F_g, c_unitCountAll);
    for (;; auto2DE8B14F_u -= 1) {

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

        gv_statProtossRemaining += 1;
    }
    auto0AB3AE1A_g = UnitGroup(null, gv_p5_NW_PROTOSSLeft, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto0AB3AE1A_u = UnitGroupCount(auto0AB3AE1A_g, c_unitCountAll);
    for (;; auto0AB3AE1A_u -= 1) {

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

        gv_statProtossRemaining += 1;
    }
    auto571B3761_g = UnitGroup(null, gv_p6_PROTOSSAir, RegionPlayableMap(), UnitFilter((1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto571B3761_u = UnitGroupCount(auto571B3761_g, c_unitCountAll);
    for (;; auto571B3761_u -= 1) {

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

    UnitPauseAll(true);
    gv_midHiddenUnitGroup = UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, 0, 0), 0);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p2_NE_PROTOSSMiddle, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p4_SE_PROTOSSRight, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p5_NW_PROTOSSLeft, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);

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

    gv_midHiddenUnitGroup = UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, 0, 0), 0);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p2_NE_PROTOSSMiddle, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p4_SE_PROTOSSRight, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p5_NW_PROTOSSLeft, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p6_PROTOSSAir, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);

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

    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p2_NE_PROTOSSMiddle, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p4_SE_PROTOSSRight, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p5_NW_PROTOSSLeft, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p6_PROTOSSAir, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    UnitGroupRemove(gv_midHiddenUnitGroup, gv_tHEONEDOOR);

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

    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p4_SE_PROTOSSRight, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p5_NW_PROTOSSLeft, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroupFilterRegion(UnitGroup(null, gv_p6_PROTOSSAir, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionPlayableMap(), 0), gv_midHiddenUnitGroup);
    UnitGroupRemove(gv_midHiddenUnitGroup, gv_tHEONEDOOR);
    libNtve_gf_ShareVisionofUnit(gv_tHEONEDOOR, true, gv_p7_ABANDONED_BASE);

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

    libNtve_gf_GlobalCinematicSetting(true);
    UnitClearSelection(gv_p01_USER);
    auto24160650_g = UnitGroup(null, c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
    auto24160650_u = UnitGroupCount(auto24160650_g, c_unitCountAll);
    for (;; auto24160650_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:409

    UnitMagazineArm(UnitFromId(539), AbilityCommand("CarrierHangar", 0), 4);
    libNtve_gf_PauseUnit(UnitFromId(24), true);
    autoF7B43037_g = UnitGroup("ProtossRelic", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoF7B43037_u = UnitGroupCount(autoF7B43037_g, c_unitCountAll);
    for (;; autoF7B43037_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:424

        libNtve_gf_ShowHideUnit(auto42415A1B_var, false);
    }
    autoB2DC0B78_g = UnitGroup("Scantipede", 0, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoB2DC0B78_u = UnitGroupCount(autoB2DC0B78_g, c_unitCountAll);
    for (;; autoB2DC0B78_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:467

        libNtve_gf_ShowHideUnit(auto12BF0F43_var, false);
    }
    auto05F95C0A_g = UnitGroup("Banshee", gv_pLAYER01_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto05F95C0A_u = UnitGroupCount(auto05F95C0A_g, c_unitCountAll);
    for (;; auto05F95C0A_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:475

        UnitSetPropertyFixed(auto05F95C0A_var, c_unitPropEnergyPercent, 100.0);
    }
    autoA72E00D6_g = UnitGroup("HighTemplar", gv_pLAYER02_PROTOSS, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA72E00D6_u = UnitGroupCount(autoA72E00D6_g, c_unitCountAll);
    for (;; autoA72E00D6_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1249

    }

    autoDBE4EF12_g = UnitGroup(null, gv_pLAYER03_PROTOSS, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoDBE4EF12_u = UnitGroupCount(autoDBE4EF12_g, c_unitCountAll);
    for (;; autoDBE4EF12_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1328

        AISetUnitSuicide(autoB98C19F2_var, true);
    }
    auto0C23000F_g = UnitGroup(null, gv_pLAYER03_PROTOSS, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto0C23000F_u = UnitGroupCount(auto0C23000F_g, c_unitCountAll);
    for (;; auto0C23000F_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1382

    }

    auto758F948D_g = UnitGroup(null, gv_pLAYER01_USER, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure) | (1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto758F948D_u = UnitGroupCount(auto758F948D_g, c_unitCountAll);
    for (;; auto758F948D_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1427

    }

    auto87DD0C3E_g = UnitGroup(null, gv_pLAYER01_USER, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure) | (1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto87DD0C3E_u = UnitGroupCount(auto87DD0C3E_g, c_unitCountAll);
    for (;; auto87DD0C3E_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1475

    }

    auto17587D29_g = UnitGroup(null, gv_pLAYER01_USER, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure) | (1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto17587D29_u = UnitGroupCount(auto17587D29_g, c_unitCountAll);
    for (;; auto17587D29_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1527

    }

    autoE6F3A8F9_g = UnitGroup(null, gv_pLAYER01_USER, RegionPlayableMap(), UnitFilter((1 << c_targetFilterStructure) | (1 << c_targetFilterPreventDefeat), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoE6F3A8F9_u = UnitGroupCount(autoE6F3A8F9_g, c_unitCountAll);
    for (;; autoE6F3A8F9_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:654


    GameTimeOfDaySet("08:00:00");
    gv_mapAreaNormal = RegionPlayableMap();
    RegionPlayableMapSet(RegionFromId(2));
    libLbty_gf_AutoRevealRegion(RegionFromId(39), RegionFromId(38), gv_pLAYER_01_USER);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:5782

    PlayerSetState(gv_pLAYER_01_USER, c_playerStateXPGain, false);
    GameTimeOfDayPause(true);
    auto793D219F_g = UnitGroup("RipFieldGenerator", gv_pLAYER_05_WORLDSHIP, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto793D219F_u = UnitGroupCount(auto793D219F_g, c_unitCountAll);
    for (;; auto793D219F_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:5839

        libNtve_gf_PauseUnit(auto4F122CFE_var, false);
    }
    autoDA86D5B3_g = UnitGroup("WarpPrismPhasing", c_playerAny, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoDA86D5B3_u = UnitGroupCount(autoDA86D5B3_g, c_unitCountAll);
    for (;; autoDA86D5B3_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1000

        UnitSetPropertyFixed(auto3EB06EA2_var, c_unitPropEnergyPercent, 100.0);
    }
    autoA4354CDE_g = UnitGroup("Bunker", gv_p03_DOMINION_RED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA4354CDE_u = UnitGroupCount(autoA4354CDE_g, c_unitCountAll);
    for (;; autoA4354CDE_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1007

        UnitCargoCreate(autoA4354CDE_var, "Marine", 4);
    }
    autoD9F28591_g = UnitGroup(null, gv_p03_DOMINION_RED, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoD9F28591_u = UnitGroupCount(autoD9F28591_g, c_unitCountAll);
    for (;; autoD9F28591_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:1204

    gf_AddUpgradetoZergPlayers(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "zerglingmovementspeed");
    gf_AddUpgradetoZergPlayers(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "GlialReconstitution");
    auto11736AB2_g = UnitGroup("SporeCannon", gv_p06_ZERG_GREEN_SW, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto11736AB2_u = UnitGroupCount(auto11736AB2_g, c_unitCountAll);
    for (;; auto11736AB2_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian01.sc2map/MapScript.galaxy:4251

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p11_ZERG_YELLOWSPORECANNON, RegionPlayableMap(), 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/tvalerian02a.sc2map/MapScript.galaxy:558


    // Implementation
    lv_targets = UnitGroup(null, gv_p1_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    UnitGroupAdd(gv_aIThinkGroup, lp_activatedunit);
    if ((UnitGetType(lp_activatedunit) == "Swarmling")) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:2360

    // Conditions
    if (testConds) {
        if (!((UnitGroupCount(UnitGroup("FlamingBetty", gv_p1_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 1))) {
            return false;
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:7445

    libNtve_gf_ShowHideBossBar(false, gv__3QueenBossBarIndex);
    PingDestroy(gv__3QueenPing);
    auto1B452B0B_g = UnitGroup(null, gv_p1_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto1B452B0B_u = UnitGroupCount(auto1B452B0B_g, c_unitCountAll);
    for (;; auto1B452B0B_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02a.sc2map/MapScript.galaxy:8290

    }

    lv_targets = UnitGroup(null, gv_p1_USER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    if ((UnitHasBehavior(gv_tHEONERAYNOR, "Incapacitated") == true)) {
        UnitGroupRemove(lv_targets, gv_tHEONERAYNOR);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:765

        lv_i += 1;
    }
    auto6F0DFD17_g = UnitGroup("SpacePlatformVentsUnit", gv_pLAYER_P08_MUTALISK_TOWERS, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0);
    auto6F0DFD17_u = UnitGroupCount(auto6F0DFD17_g, c_unitCountAll);
    for (;; auto6F0DFD17_u -= 1) {

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

    }

    autoA238B88E_g = UnitGroup("Beacon_Protoss", 0, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA238B88E_u = UnitGroupCount(autoA238B88E_g, c_unitCountAll);
    for (;; autoA238B88E_u -= 1) {

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

        UnitSetInfoText(autoA238B88E_var, StringExternal("Param/Value/4982494F"), StringToText(""), StringToText(""));
    }
    autoD8483A2F_g = UnitGroup("DestructibleRock6x6", 0, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoD8483A2F_u = UnitGroupCount(autoD8483A2F_g, c_unitCountAll);
    for (;; autoD8483A2F_u -= 1) {

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

    // Transmission - SoundLink("TZeratul01Karass00062", 0)
    libCamp_gf_SendTransmissionCampaign(null, SoundLink("TZeratul01Karass00062", -1), c_transmissionDurationAdd, 1.0, true);
    if (((libNtve_gf_UnitInRegion(gv_tHEONEZERATUL, RegionFromId(101)) == false) && (libNtve_gf_UnitInRegion(gv_tHEONEZERATUL, RegionPlayableMap()) == true))) {
        // Transmission - SoundLink("TZeratul01Zeratul00044", 0)
        libCamp_gf_SendTransmissionCampaign(gv_tHEONEZERATUL, SoundLink("TZeratul01Zeratul00044", -1), c_transmissionDurationAdd, 1.0, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:5246

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p3_PROTOSS_ENEMY, RegionPlayableMap(), 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/tzeratul02.sc2map/MapScript.galaxy:5250

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p4_PROTOSS_ENEMY, RegionPlayableMap(), 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/tzeratul02.sc2map/MapScript.galaxy:5254

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p6_PROTOSS_ENEMY, RegionPlayableMap(), 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/tzeratul04.sc2map/MapScript.galaxy:5025

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p01_PLAYER, RegionPlayableMap(), 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/tzeratul04.sc2map/MapScript.galaxy:6064

    CameraApplyInfo(gv_p01_PLAYER, CameraInfoFromId(252), (SoundLengthSync(SoundLink("TZeratul04Zeratul00001", 0)) * 0.2), -1, 10, true);
    TransmissionWait(TransmissionLastSent(), 5.0);
    auto6F0B679E_g = UnitGroup("Zealot", gv_p01_PLAYER, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto6F0B679E_u = UnitGroupCount(auto6F0B679E_g, c_unitCountAll);
    for (;; auto6F0B679E_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6256

    AITimePause(true);
    UnitPauseAll(true);
    gv_midHiddenUnitGroup = UnitGroup(null, gv_p05_ZERG_NE, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto0DA95E20_g = gv_midHiddenUnitGroup;
    auto0DA95E20_u = UnitGroupCount(auto0DA95E20_g, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul04.sc2map/MapScript.galaxy:6407

    }

    auto9618AE93_g = UnitGroup(null, gv_p05_ZERG_NE, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto9618AE93_u = UnitGroupCount(auto9618AE93_g, c_unitCountAll);
    for (;; auto9618AE93_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/advancedcommand.sc2map/MapScript.galaxy:723

    UnitGroupLoopEnd();
    CameraApplyInfo(gv_pLAYER_USER, CameraInfoFromId(62), 0.0, -1, 10, true);
    VisExploreArea(gv_pLAYER_USER, RegionPlayableMap(), true, false);
    VisRevealerCreate(gv_pLAYER_USER, RegionFromId(10));
    gv_revealer = VisRevealerLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:601

    }

    gv_playableArea = RegionPlayableMap();
    PingCreate(PlayerGroupAll(), "PingObjective", RegionGetCenter(RegionFromId(13)), ColorWithAlpha(0.78, 26.27, 4.31, 0.00), 0.0);
    PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/D9B721B1"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:826

    ObjectiveShow(gv_objectiveSurvive03, PlayerGroupAll(), false);
    UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
    CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
    VisExploreArea(gv_pLAYER_USER, RegionEntireMap(), false, false);
    UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosscombat.sc2map/MapScript.galaxy:2097

    }

    VisRevealerCreate(gv_pLAYER_USER, RegionPlayableMap());
    gv_revealer = VisRevealerLastCreated();
    TriggerQueueEnter();

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:492

    TriggerQueuePause(false);
    UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
    CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
    VisExploreArea(gv_pLAYER_USER, RegionEntireMap(), false, false);
    UnitGroupLoopBegin(UnitGroup(null, c_playerAny, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:660

    TriggerQueueEnter();
    CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, false);
    CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
    Wait(1.0, c_timeReal);
    UISetMode(PlayerGroupAll(), c_uiModeConsole, c_transitionDurationDefault);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:742

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "RepulserField12", 0, gv_pLAYER_COMPUTER2, RegionGetCenter(RegionFromId(25)));
    CameraApplyInfo(gv_pLAYER_USER, CameraInfoFromId(62), 0.0, -1, 10, true);
    VisExploreArea(gv_pLAYER_USER, RegionPlayableMap(), true, false);
    VisRevealerCreate(gv_pLAYER_USER, RegionFromId(10));
    gv_revealerNE = VisRevealerLastCreated();

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/protosspsionics.sc2map/MapScript.galaxy:1838

    libNtve_gf_CinematicMode(false, PlayerGroupAll(), c_transitionDurationDefault);
    libNtve_gf_GlobalCinematicSetting(false);
    CameraSetBounds(PlayerGroupAll(), RegionPlayableMap(), true);
    GameSetSpeedLocked(true);
    GameSetSpeedValue(c_gameSpeedNormal);

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:545

    }

    gv_playableArea = RegionPlayableMap();
    PingCreate(PlayerGroupAll(), "PingObjective", RegionGetCenter(RegionFromId(13)), ColorWithAlpha(0.78, 26.27, 4.31, 0.00), 0.0);
    PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/9090D1A4"));

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/terrancombat.sc2map/MapScript.galaxy:774

    ObjectiveShow(gv_objectiveSurvive03, PlayerGroupAll(), false);
    UIClearMessages(PlayerGroupAll(), c_messageAreaAll);
    RegionPlayableMapSet(RegionPlayableMap());
    VisExploreArea(gv_pLAYER_USER, RegionEntireMap(), false, false);
    UnitGroupLoopBegin(UnitGroup(null, gv_pLAYER_USER, null, UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32))), 0));