# Convert Circle To Region

Grammar — Region(c, r)
FlagsNative | Function

Returns a circular region from a center point and a radius.

# Arguments

  • point — Center
  • fixed — Radius

Returns — region

native region RegionCircle(point center, fixed radius);

Category: Region / Creation

# Examples

campaigns/liberty.sc2campaignbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:83

    }

    barrageGroup = UnitGroup(null, c_playerAny, RegionCircle(loc, barrageRadius), null, 0);
    barrageThreatGroup = UnitGroupFilterThreat(barrageGroup, aiUnit, null, 0);
    numPossibleThreatsInBarrage = UnitGroupCount(barrageThreatGroup, c_unitCountAll);

campaigns/liberty.sc2campaignbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:527


    filter = UnitFilterStr(AIEffectStr(player, c_EF_HybridStunArea, c_fieldFilters));
    enemyRegion = RegionCircle(UnitGetPosition(aiUnit), AIEffectFixed(player, c_EF_HybridStunArea, c_fieldAreaRadius0));
    enemyGroup = UnitGroupAlliance(player, c_unitAllianceEnemy, enemyRegion, filter, c_noMaxCount);

campaigns/liberty.sc2campaignbase.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:715


    filter = UnitFilterStr(AIEffectStr(player, c_EF_PsionicShockWaveArea, c_fieldFilters));
    enemyRegion = RegionCircle(UnitGetPosition(aiUnit), psiShockRange);
    enemyGroup = UnitGroupAlliance(player, c_unitAllianceEnemy, enemyRegion, filter, c_noMaxCount);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7255

    lv_height = UnitGetPropertyFixed(EventUnit(), c_unitPropHeight, c_unitPropCurrent);
    lv_center = UnitGetPosition(EventUnit());
    lv_region = RegionCircle(lv_center, 3.0);
    libNtve_gf_CreateModelAtPoint("ProtossLargeUnitDeath", lv_center);
    ActorSend(libNtve_gf_ActorLastCreated(), libNtve_gf_SetHeight(lv_height));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tarcade.sc2map/MapScript.galaxy:7350

    }

    auto77B05B4A_g = UnitGroup(null, gv_p0_NEUTRAL, RegionCircle(UnitGetPosition(gv_viking), 1.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto77B05B4A_u = 1;
    for ( ; auto77B05B4A_u <= UnitGroupCount(auto77B05B4A_g, c_unitCountAll) ; auto77B05B4A_u += BoolToInt(lv_indexUnit == UnitGroupUnit(auto77B05B4A_g, auto77B05B4A_u)) ) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:372

    // Automatic Variable Declarations
    // Implementation
    if ((UnitGroupCount(UnitGroup("Overlord", c_playerAny, RegionCircle(lp_param_SpoogeTarget, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Overlord", 0, gv_p5_ZERG_TACTICALPHASE, lp_param_Spawn);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), lp_param_SpoogeTarget), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:447

    libNtve_gf_UnitCreateFacingPoint(lp_qty3, lp_type3, 0, gv_p2_ZERG_ORANGE_NW, RegionGetCenter(RegionFromId(11)), PointFromId(858));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_unitGroup);
    libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, RegionRandomPoint(RegionCircle(lp_target, 1.0)), lv_unitGroup, true);
    auto142C38A1_g = lv_unitGroup;
    auto142C38A1_u = UnitGroupCount(auto142C38A1_g, c_unitCountAll);

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


    if ((gv_gameOver == false) && (gv_inCinematic == false)) {
        if ((UnitGroupCount(UnitGroup("Marine", gv_p4_COLONISTS, RegionCircle(PointFromId(2079), 12.0), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) < gv_initialMarineCount)) {
            libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p4_COLONISTS, PointFromId(2079));
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1391

        Wait(0.5, c_timeGame);
        if ((UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionFromId(36), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
            libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup("Zergling", gv_p5_ZERG_TACTICALPHASE, RegionCircle(RegionGetCenter(RegionFromId(14)), 6.0), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_zergOnTheLoose);
            libNtve_gf_AddUnitGroupToUnitGroup(lv_zerglingGroup, gv_zergOnTheLoose);
            break;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:1409

        }

        autoE80840C1_g = UnitGroup("Zergling", gv_p5_ZERG_TACTICALPHASE, RegionCircle(PointFromId(2425), 2.0), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        autoE80840C1_u = UnitGroupCount(autoE80840C1_g, c_unitCountAll);
        for (;; autoE80840C1_u -= 1) {

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

        }
        else {
            UnitIssueOrder(auto338F5CC8_var, OrderTargetingUnit(AbilityCommand("SCVHarvest", 0), libNtve_gf_ClosestUnitToPoint(UnitGetPosition(auto338F5CC8_var), UnitGroup("MineralField", 0, RegionCircle(UnitGetPosition(auto338F5CC8_var), 12.0), UnitFilter(0, 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0))), c_orderQueueReplace);
        }
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2846

    MinimapPing(PlayerGroupAll(), UnitGetPosition(UnitFromId(2010)), 5.0, Color(0.00, 100.00, 0.00));
    UnitFlashSelection(UnitFromId(2010), 5.0);
    VisRevealArea(gv_p1_USER, RegionCircle(UnitGetPosition(UnitFromId(2010)), 8.0), 10.0, false);
    UIAlertUnit("Trigger", gv_p1_USER, StringExternal("Param/Value/06699F6C"), null, UnitFromId(2010));
    TriggerExecute(gt_ChrysalisTipQ, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2884

    MinimapPing(PlayerGroupAll(), UnitGetPosition(UnitFromId(397)), 5.0, Color(0.00, 100.00, 0.00));
    UnitFlashSelection(UnitFromId(397), 5.0);
    VisRevealArea(gv_p1_USER, RegionCircle(UnitGetPosition(UnitFromId(397)), 8.0), 10.0, false);
    UIAlertUnit("Trigger", gv_p1_USER, StringExternal("Param/Value/15E4C0E1"), null, UnitFromId(397));
    TriggerExecute(gt_ChrysalisTipQ, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:2922

    MinimapPing(PlayerGroupAll(), UnitGetPosition(UnitFromId(612)), 5.0, Color(0.00, 100.00, 0.00));
    UnitFlashSelection(UnitFromId(612), 5.0);
    VisRevealArea(gv_p1_USER, RegionCircle(UnitGetPosition(UnitFromId(612)), 8.0), 10.0, false);
    UIAlertUnit("Trigger", gv_p1_USER, StringExternal("Param/Value/3FCD1C91"), null, UnitFromId(612));
    TriggerExecute(gt_ChrysalisTipQ, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thanson01.sc2map/MapScript.galaxy:3518


    lv_point = gv_tempTumorPoint;
    if ((UnitGroupCount(UnitGroup("CreepTumor", c_playerAny, RegionCircle(lv_point, 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) == 0)) {
        libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_point, UnitGroupEmpty(), true);
        libNtve_gf_CreateUnitsAtPoint2(1, "CreepTumor", c_unitCreateConstruct, gv_p5_ZERG_TACTICALPHASE, lv_point);

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

    }

    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(19), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(73), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(74), 16.0), true, false);

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


    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(19), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(73), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(74), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(669), 12.0), true, false);

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

    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(19), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(73), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(74), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(669), 12.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(707), 12.0), true, false);

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

    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(73), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(74), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(669), 12.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(707), 12.0), true, false);
    gv_timeOfDay = ge_PRESET_TimeOfDay_Day;

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

    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(74), 16.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(669), 12.0), true, false);
    VisExploreArea(gv_pLAYER_01_USER, RegionCircle(PointFromId(707), 12.0), true, false);
    gv_timeOfDay = ge_PRESET_TimeOfDay_Day;
    GameTimeOfDayPause(true);

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

        Wait(RandomFixed(0.5, 1.0), c_timeGame);
    }
    while (!((UnitGroupCount(lv_attackersLeft, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(228), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) && (UnitGroupCount(lv_attackersRight, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(317), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)))) {
        Wait(0.1, c_timeGame);
    }

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

        Wait(RandomFixed(0.5, 1.0), c_timeGame);
    }
    while (!((UnitGroupCount(lv_attackersLeft, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(228), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)) && (UnitGroupCount(lv_attackersRight, c_unitCountAlive) == UnitGroupCount(UnitGroup(null, gv_pLAYER_03_INFESTED_REFUGEES, RegionCircle(PointFromId(317), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)))) {
        Wait(0.1, c_timeGame);
    }

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


    if ((EventUnit() == gv_infestor1)) {
        VisRevealArea(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(gv_infestor1), 2.0), 5.0, false);
        libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", UnitGetPosition(gv_infestor1), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
        gv_infestorPing01 = PingLastCreated();

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


    if ((EventUnit() == gv_infestor2)) {
        VisRevealArea(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(gv_infestor2), 2.0), 5.0, false);
        libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", UnitGetPosition(gv_infestor2), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
        gv_infestorPing02 = PingLastCreated();

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

        auto7ECFBFDB_var = UnitGroupUnitFromEnd(auto7ECFBFDB_g, auto7ECFBFDB_u);
        if (auto7ECFBFDB_var == null) { break; }
        if ((UnitGetType(auto7ECFBFDB_var) == "Infestor") && (UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(auto7ECFBFDB_var), 14.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0)) {
            lv_point = UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(auto7ECFBFDB_var), 14.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive));
            if ((UnitGetCustomValue(auto7ECFBFDB_var, 0) < libNtve_gf_DifficultyValueFixed(5.0, 5.0, 10.0, 1000.0))) {

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

    GameSetToDLighting("Haven");
    GameTimeOfDayPause(true);
    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(9)), 10.0));
    gv_colonist_Outpost_Alpha = VisRevealerLastCreated();
    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(11)), 10.0));

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

    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(9)), 10.0));
    gv_colonist_Outpost_Alpha = VisRevealerLastCreated();
    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(11)), 10.0));
    gv_colonist_Outpost_Beta = VisRevealerLastCreated();
    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(12)), 10.0));

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

    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(11)), 10.0));
    gv_colonist_Outpost_Beta = VisRevealerLastCreated();
    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(12)), 10.0));
    gv_colonist_Outpost_Gamma = VisRevealerLastCreated();
    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(8)), 10.0));

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

    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(12)), 10.0));
    gv_colonist_Outpost_Gamma = VisRevealerLastCreated();
    VisRevealerCreate(gv_pLAYER01_USER, RegionCircle(RegionGetCenter(RegionFromId(8)), 10.0));
    gv_colonist_Outpost_Omega = VisRevealerLastCreated();
    gv_planetCrackerHoleAlpha = ActorFromDoodad(DoodadFromId(199));

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

    }

    VisRevealArea(gv_pLAYER01_USER, RegionCircle(UnitGetPosition(UnitFromId(2466)), 5.0), 6.0, false);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", UnitGetPosition(UnitFromId(2466)), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 0.0, 270.0);
    gv_nexusPing1 = PingLastCreated();

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

    PingSetTooltip(gv_nexusPing1, StringExternal("Param/Value/B69D5FED"));
    Wait(0.5, c_timeGame);
    VisRevealArea(gv_pLAYER01_USER, RegionCircle(UnitGetPosition(UnitFromId(2915)), 5.0), 6.0, false);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", UnitGetPosition(UnitFromId(2915)), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 0.0, 270.0);
    gv_nexusPing2 = PingLastCreated();

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

    PingSetTooltip(gv_nexusPing2, StringExternal("Param/Value/C8230280"));
    Wait(0.5, c_timeGame);
    VisRevealArea(gv_pLAYER01_USER, RegionCircle(UnitGetPosition(UnitFromId(2819)), 5.0), 6.0, false);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_pLAYER01_USER), "PingObjective", UnitGetPosition(UnitFromId(2819)), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 0.0, 270.0);
    gv_nexusPing3 = PingLastCreated();

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

    UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 1)), c_orderQueueReplace);
    libNtve_gf_ShareVisionofUnit(gv_purifier, true, gv_pLAYER01_USER);
    VisRevealArea(gv_pLAYER01_USER, RegionCircle(UnitGetPosition(gv_purifier), 6.0), 10.0, false);
    libNtve_gf_AttachModelToUnit(gv_purifier, "MothershipTeleportIn", "Ref_Center");
    SoundPlayAtPoint(SoundLink("Mothership_Birth", -1), PlayerGroupAll(), UnitGetPosition(gv_purifier), 0.0, 100.0, 0.0);

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

    // Conditions
    if (testConds) {
        if (!((UnitGroupCount(UnitGroup(null, gv_pLAYER01_USER, RegionCircle(UnitGetPosition(UnitFromId(765)), 12.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 6))) {
            return false;
        }

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


    TriggerEnable(TriggerGetCurrent(), false);
    lv_target_Group = UnitGroup(null, gv_pLAYER01_USER, RegionCircle(UnitGetPosition(UnitFromId(765)), 12.0), UnitFilter(0, 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("VortexPurifier", 0), UnitGetPosition(UnitGroupRandomUnit(lv_target_Group, c_unitCountAlive))), c_orderQueueAddToFront);
    Wait(4.0, c_timeGame);

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

    auto017A7127_n = lp_qty;
    for (auto017A7127_i = 1; auto017A7127_i <= auto017A7127_n; auto017A7127_i += 1) {
        UnitCreate(1, lp_type, 0, gv_p03_VIROPHAGE, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_infestationVirophageUnit[lp_colonyIndex]), 5.0)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowDroneUp", 0)), c_orderQueueReplace);
    }

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

        for (autoEA209D47_i = 1; autoEA209D47_i <= autoEA209D47_n; autoEA209D47_i += 1) {
            if ((gf_InfestedPlayerisFoodCapped() == false) && (lv_virophage != null) && (UnitIsAlive(lv_virophage) == true) && (UnitGetType(lv_virophage) == "Virophage")) {
                gf_EggSpawnerSpawnAnEgg(lp_type, RegionRandomPoint(RegionCircle(RegionGetCenter(gv_infestationRegion[lv_colonyIndex]), lv_sPAWN_RADIUS)), lv_colonyIndex);
            }

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


    if ((RandomInt(1, 6) == 1)) {
        UnitIssueOrder(lv_colonist, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionCircle(RegionGetCenter(lp_locale), 2.0))), c_orderQueueReplace);
    }
    else {

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

    lv_radius = 1.0;
    for ( ; ( (autoA3C3FAEB_ai >= 0 && lv_radius <= autoA3C3FAEB_ae) || (autoA3C3FAEB_ai < 0 && lv_radius >= autoA3C3FAEB_ae) ) ; lv_radius += autoA3C3FAEB_ai ) {
        lv_killZone = RegionCircle(RegionGetCenter(gv_infestationRegion[lv_colonyIndex]), lv_radius);
        gf_KillUnitsInRegion("Feederling", gv_p07_ZERG_INFESTED, lv_killZone);
        gf_KillUnitsInRegion(gv_eGG_UNIT, gv_p07_ZERG_INFESTED, lv_killZone);

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

            auto42F1D01E_var = UnitGroupUnitFromEnd(auto42F1D01E_g, auto42F1D01E_u);
            if (auto42F1D01E_var == null) { break; }
            if ((UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(auto42F1D01E_var), 5.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1)) {
                UnitGroupRemove(gv_carrionBirds, auto42F1D01E_var);
                gf_OrderCarrionBirdtoFlyAway(auto42F1D01E_var);

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

    if ((gv_introCinematicCompleted == false)) {
        CinematicFade(false, 0.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
        autoE954F54D_g = UnitGroup("VikingAssault", gv_p01_USER, RegionCircle(PointFromId(33), 8.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        autoE954F54D_u = UnitGroupCount(autoE954F54D_g, c_unitCountAll);
        for (;; autoE954F54D_u -= 1) {

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:431


    gv_diamondbacksRevealed = true;
    VisRevealerCreate(gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lp_diamondback), 4.5));
    VisRevealerEnable(VisRevealerLastCreated(), true);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", UnitGetPosition(lp_diamondback), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2075

        }

        if ((RegionContainsPoint(RegionCircle(gv_trainList[lv_trainIndex].lv_escorts[1].lv_waitPosition, 2.0), UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[1])) == true)) {
            auto099CB889_ae = gv_trainList[lv_trainIndex].lv_numberOfCars;
            lv_i = 1;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2148

        auto499A4BF2_var = UnitGroupUnitFromEnd(auto499A4BF2_g, auto499A4BF2_u);
        if (auto499A4BF2_var == null) { break; }
        if ((RegionContainsPoint(RegionCircle(gv_trainPath[FixedToInt(UnitGetCustomValue(auto499A4BF2_var, 0))], 0.5), UnitGetPosition(auto499A4BF2_var)) == true)) {
            if ((FixedToInt(UnitGetCustomValue(auto499A4BF2_var, 0)) < 255)) {
                UnitSetCustomValue(auto499A4BF2_var, 0, (UnitGetCustomValue(auto499A4BF2_var, 0) + 1.0));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2300

        auto9BF3A280_n = gv_trainMinerals[libNtve_gf_DifficultyValueInt(1, 2, 3, 4)][MinI(gv_trainsDestroyed, 7)];
        for (auto9BF3A280_i = 1; auto9BF3A280_i <= auto9BF3A280_n; auto9BF3A280_i += 1) {
            UnitCreate(1, "PalletMinerals", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[RandomInt(1, gv_trainList[lv_trainIndex].lv_lastCar)]), 2.0)), RandomFixed(0.0, 360.0));
            libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2305

        auto475F7BBB_n = gv_trainGas;
        for (auto475F7BBB_i = 1; auto475F7BBB_i <= auto475F7BBB_n; auto475F7BBB_i += 1) {
            UnitCreate(1, "PalletGas", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[RandomInt(1, gv_trainList[lv_trainIndex].lv_lastCar)]), 2.0)), RandomFixed(0.0, 360.0));
            libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_01_USER);
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2312

        lv_trainMidPoint = (gv_trainList[lv_trainIndex].lv_lastCar / 2);
        lv_trainMidPoint += 1;
        UnitCreate(1, "AdjutantCapsule", 0, 0, RegionRandomPoint(RegionCircle(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]), 2.0)), (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[lv_trainMidPoint]) - 90.0));
        libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Birth");
        libNtve_gf_SendActorMessageToUnit(UnitLastCreated(), "AnimClear Morph");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2454

void gt_TrainDespawn_Init () {
    gt_TrainDespawn = TriggerCreate("gt_TrainDespawn_Func");
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(491), 1.0), true);
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(502), 1.0), true);
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(297), 1.0), true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2455

    gt_TrainDespawn = TriggerCreate("gt_TrainDespawn_Func");
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(491), 1.0), true);
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(502), 1.0), true);
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(297), 1.0), true);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2456

    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(491), 1.0), true);
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(502), 1.0), true);
    TriggerAddEventUnitRegion(gt_TrainDespawn, null, RegionCircle(PointFromId(297), 1.0), true);
}

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner01.sc2map/MapScript.galaxy:2565

        for ( ; ( (autoDBBC6A4F_ai >= 0 && lv_i <= autoDBBC6A4F_ae) || (autoDBBC6A4F_ai < 0 && lv_i >= autoDBBC6A4F_ae) ) ; lv_i += autoDBBC6A4F_ai ) {
            if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort) == true)) {
                if ((libNtve_gf_UnitInRegion(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, RegionCircle(lv_exitPoint, 1.0)) == true)) {
                    UnitRemove(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort);
                }

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


    // Implementation
    auto8FFA0729_g = UnitGroup(null, lp_player, RegionCircle(lp_scrapPosition, lp_distance), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto8FFA0729_u = UnitGroupCount(auto8FFA0729_g, c_unitCountAll);
    for (;; auto8FFA0729_u -= 1) {

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

        UnitIssueOrder(lp_nuker, Order(AbilityCommand("GhostCloak", 0)), c_orderQueueReplace);
        Wait(5.0, c_timeGame);
        VisRevealArea(gv_p04_DOMINION, RegionCircle(lp_nukeTarget, 5.0), 20.0, false);
        UnitIssueOrder(lp_nuker, OrderTargetingPoint(AbilityCommand("TacNukeStrike", 0), lp_nukeTarget), c_orderQueueReplace);
        UnitIssueOrder(lp_nuker, OrderTargetingPoint(AbilityCommand("move", 0), lp_retreatTo), c_orderQueueAddToEnd);

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

        UnitIssueOrder(lp_nuker, OrderTargetingPoint(AbilityCommand("move", 0), lp_retreatTo), c_orderQueueAddToEnd);
        UnitIssueOrder(lp_nuker, Order(AbilityCommand("GhostCloak", 1)), c_orderQueueAddToEnd);
        VisRevealArea(gv_p01_USER, RegionCircle(lp_nukeTarget, 8.0), 25.0, false);
        libNtve_gf_CreateModelAtPoint("GhostNukeIndicator", RegionGetCenter(RegionFromId(55)));
        gv_nukeActor = libNtve_gf_ActorLastCreated();

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

    Wait(1.0, c_timeGame);
    TriggerExecute(gt_ObjectiveDestroyOrlanCreateQ, true, false);
    VisRevealArea(gv_p01_USER, RegionCircle(PointFromId(51), 6.0), 10.0, false);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupSingle(gv_p01_USER), "PingObjective", PointFromId(51), ColorWithAlpha(0.00, 100.00, 0.00, 0.00), 0.0, 270.0);
    gv_orlansFortressPing = PingLastCreated();

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


    TriggerEnable(TriggerGetCurrent(), false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(893)), 8.0), 6.0, false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(767)), 8.0), 6.0, false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(894)), 8.0), 6.0, false);

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

    TriggerEnable(TriggerGetCurrent(), false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(893)), 8.0), 6.0, false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(767)), 8.0), 6.0, false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(894)), 8.0), 6.0, false);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", UnitGetPosition(UnitFromId(767)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);

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

    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(893)), 8.0), 6.0, false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(767)), 8.0), 6.0, false);
    VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(894)), 8.0), 6.0, false);
    libNtve_gf_CreatePingFacingAngle(PlayerGroupAll(), "PingObjective", UnitGetPosition(UnitFromId(767)), ColorWithAlpha(100.00, 100.00, 0.00, 0.00), 0.0, 270.0);
    PingSetTooltip(PingLastCreated(), StringExternal("Param/Value/2A95D303"));

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

        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", UnitGetPosition(UnitFromId(327)));
        gv_salvagePingActor = libNtve_gf_ActorLastCreated();
        VisRevealerCreate(gv_p01_USER, RegionCircle(UnitGetPosition(UnitFromId(327)), 3.0));
        gv_salvageRevealer = VisRevealerLastCreated();
    }

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

        libNtve_gf_CreateModelAtPoint("BriefingUnitSelect", RegionGetCenter(RegionFromId(21)));
        gv_respawnSalvagePingActor2 = libNtve_gf_ActorLastCreated();
        VisRevealArea(gv_p01_USER, RegionCircle(RegionGetCenter(RegionFromId(20)), 5.0), 6.0, false);
        VisRevealArea(gv_p01_USER, RegionCircle(RegionGetCenter(RegionFromId(21)), 5.0), 6.0, false);
    }

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

        gv_respawnSalvagePingActor2 = libNtve_gf_ActorLastCreated();
        VisRevealArea(gv_p01_USER, RegionCircle(RegionGetCenter(RegionFromId(20)), 5.0), 6.0, false);
        VisRevealArea(gv_p01_USER, RegionCircle(RegionGetCenter(RegionFromId(21)), 5.0), 6.0, false);
    }

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


    TriggerEnable(TriggerGetCurrent(), false);
    auto1FE7BFD6_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto1FE7BFD6_u = UnitGroupCount(auto1FE7BFD6_g, c_unitCountAll);
    for (;; auto1FE7BFD6_u -= 1) {

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


    TriggerEnable(TriggerGetCurrent(), false);
    auto32B93861_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto32B93861_u = UnitGroupCount(auto32B93861_g, c_unitCountAll);
    for (;; auto32B93861_u -= 1) {

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


    TriggerEnable(TriggerGetCurrent(), false);
    auto9297DEB2_g = UnitGroup("Scientist", c_playerAny, RegionCircle(UnitGetPosition(EventUnitTarget()), 20.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto9297DEB2_u = UnitGroupCount(auto9297DEB2_g, c_unitCountAll);
    for (;; auto9297DEB2_u -= 1) {

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

    }

    auto6ADED6AB_g = UnitGroup(null, 0, RegionCircle(UnitGetPosition(gv_odin), 2.75), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto6ADED6AB_u = UnitGroupCount(auto6ADED6AB_g, c_unitCountAll);
    for (;; auto6ADED6AB_u -= 1) {

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

        autoDCA2395B_var = UnitGroupUnitFromEnd(autoDCA2395B_g, autoDCA2395B_u);
        if (autoDCA2395B_var == null) { break; }
        auto1309F81D_g = UnitGroup(null, c_playerAny, RegionCircle(UnitGetPosition(autoDCA2395B_var), 10.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
        auto1309F81D_u = UnitGroupCount(auto1309F81D_g, c_unitCountAll);
        for (;; auto1309F81D_u -= 1) {

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

    if ((lv_detectorSpotted == true)) {
        TriggerEnable(TriggerGetCurrent(), false);
        VisRevealArea(gv_p01_USER, RegionCircle(UnitGetPosition(lv_nearbyDetector), 4.0), 5.0, false);
        libNtve_gf_AttachModelToUnit(lv_nearbyDetector, "BriefingUnitSelectRed", "Ref_Center");
        gv_tippedDetectorPing = libNtve_gf_ActorLastCreated();

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

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(gv_odin), 6.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 12))) {
            return false;
        }

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

    Wait(3.5, c_timeReal);
    UnitIssueOrder(gv_briefingTychus, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(974)), c_orderQueueReplace);
    auto6FF7B51E_g = UnitGroup("Marine", gv_p01_USER, RegionCircle(UnitGetPosition(gv_briefingTychus), 3.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto6FF7B51E_u = UnitGroupCount(auto6FF7B51E_g, c_unitCountAll);
    for (;; auto6FF7B51E_u -= 1) {

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


    // Implementation
    lv_numberOfPlayerUnitsByCOP = UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lp_unit), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32)) | (1 << (c_targetFilterInvulnerable - 32))), 0), c_unitCountAlive);
    lv_realInterval = 1.0;
    lv_realCurrent = (lv_realInterval * IntToFixed(gv_transmissionProgress[lp_index]));

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

        lv_realCurrent = (lv_realCurrent + lv_realInterval);
        lv_text2 = FixedToText(lv_realCurrent, 0);
        lv_numberOfPlayerUnitsByCOP = UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lp_unit), 2.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive);
        if ((lv_numberOfPlayerUnitsByCOP == 0)) {
            gv_transmissionProgress[lp_index] = (gv_transmissionProgress[lp_index] + lv_count);

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


    Wait(0.5, c_timeGame);
    autoC0A4CB95_g = UnitGroup(null, gv_p06_CIVILIANS, RegionCircle(UnitGetPosition(EventUnit()), 12.0), UnitFilter((1 << c_targetFilterBiological), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoC0A4CB95_u = UnitGroupCount(autoC0A4CB95_g, c_unitCountAll);
    for (;; autoC0A4CB95_u -= 1) {

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

            libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(autoC0A4CB95_var), c_animNameDefault, "Fidget Inferior End", 0, c_animTimeDefault);
            UnitBehaviorAdd(autoC0A4CB95_var, "Run", autoC0A4CB95_var, 1);
            UnitIssueOrder(autoC0A4CB95_var, OrderTargetingUnit(null, UnitGroupRandomUnit(UnitGroup("Hut", gv_p06_CIVILIANS, RegionCircle(UnitGetPosition(EventUnit()), 50.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive)), c_orderQueueReplace);
        }

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

    }

    auto4D3A1C8E_g = UnitGroup(null, gv_p06_CIVILIANS, RegionCircle(UnitGetPosition(gv_odin), 10.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto4D3A1C8E_u = UnitGroupCount(auto4D3A1C8E_g, c_unitCountAll);
    for (;; auto4D3A1C8E_u -= 1) {

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


    }
    autoA22A473B_g = UnitGroup(null, 0, RegionCircle(UnitGetPosition(gv_odin), 2.75), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoA22A473B_u = UnitGroupCount(autoA22A473B_g, c_unitCountAll);
    for (;; autoA22A473B_u -= 1) {

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


    }
    auto18D9D224_g = UnitGroup(null, gv_p06_CIVILIANS, RegionCircle(UnitGetPosition(gv_odin), 2.75), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto18D9D224_u = UnitGroupCount(auto18D9D224_g, c_unitCountAll);
    for (;; auto18D9D224_u -= 1) {

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

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(gv_secretDocuments), 2.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) >= 1))) {
            return false;
        }

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

    TriggerEnable(gt_OdinStompsStuff, true);
    TriggerExecute(gt_StartGameStage1Timer, true, false);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");

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

    TriggerExecute(gt_StartGameStage1Timer, true, false);
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Balloons");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains TickerTapeFX");
    libNtve_gf_SendActorMessageToGameRegionWithFilters(RegionCircle(RegionGetCenter(RegionFromId(9)), 20.0), c_actorIntersectAgainstRadiusContact, "SetVisibility", "Doodad", "ScopeContains Fireworks");
    auto04317FC0_g = UnitGroup("PathingBlocker1x1", c_playerAny, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    }

    lv_group = UnitGroup(null, gv_p10_SCIENTISTS, RegionCircle(UnitGetPosition(EventUnit()), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoC6F67F0C_g = lv_group;
    autoC6F67F0C_u = UnitGroupCount(autoC6F67F0C_g, c_unitCountAll);

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

        if (lv_scientist == null) { break; }
        if ((UnitGetCustomValue(lv_scientist, 0) == 0.0)) {
            lv_intruderGroup = UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lv_scientist), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1);
            if ((UnitGroupCount(lv_intruderGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);

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

        if (lv_scientist == null) { break; }
        if ((UnitGetCustomValue(lv_scientist, 0) == 0.0)) {
            lv_brutaliskGroup = UnitGroup(null, gv_p11_BRUTALISK, RegionCircle(UnitGetPosition(lv_scientist), 5.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1);
            if ((UnitGroupCount(lv_brutaliskGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);

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

        if (lv_scientist == null) { break; }
        if ((UnitGetCustomValue(lv_scientist, 0) == 0.0)) {
            lv_hybridGroup = UnitGroup(null, gv_p04_HYBRID, RegionCircle(UnitGetPosition(lv_scientist), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1);
            if ((UnitGroupCount(lv_hybridGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);

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

        if (lv_egg == null) { break; }
        if ((UnitGetCustomValue(lv_egg, 0) == 0.0)) {
            lv_player = UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lv_egg), 1.5), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1);
            if ((UnitGroupCount(lv_player, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_egg, 0, 1.0);

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

        if (lv_hybridLocal == null) { break; }
        if ((UnitGetCustomValue(lv_hybridLocal, 0) == 0.0)) {
            lv_playerGroup = UnitGroup(null, gv_p01_USER, RegionCircle(UnitGetPosition(lv_hybridLocal), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 2);
            if ((UnitGroupCount(lv_playerGroup, c_unitCountAlive) > 0)) {
                AICast(gv_hybrid, Order(AbilityCommand("HybridFAoEStun", 0)), null, false);

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

        if (lv_hybridLocal == null) { break; }
        if ((UnitGetCustomValue(lv_hybridLocal, 0) == 0.0)) {
            lv_zergGroup = UnitGroup(null, gv_p05_ZERG_LAB_SPECIMENS, RegionCircle(UnitGetPosition(lv_hybridLocal), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1);
            if ((UnitGroupCount(lv_zergGroup, c_unitCountAlive) > 0)) {
                AICast(gv_hybrid, OrderTargetingUnit(AbilityCommand("ConsumeDNA", 0), UnitGroupRandomUnit(lv_zergGroup, c_unitCountAlive)), null, false);

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

        if (lv_hybridLocal == null) { break; }
        if ((UnitGetCustomValue(lv_hybridLocal, 0) == 0.0)) {
            lv_protossGroup = UnitGroup(null, gv_p06_PROTOSS_LAB_SPECIMENS, RegionCircle(UnitGetPosition(lv_hybridLocal), 4.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1);
            if ((UnitGroupCount(lv_protossGroup, c_unitCountAlive) > 0)) {
                AICast(gv_hybrid, OrderTargetingUnit(AbilityCommand("ConsumeDNA", 0), UnitGroupRandomUnit(lv_protossGroup, c_unitCountAlive)), null, false);

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

        if (lv_scientist == null) { break; }
        if ((UnitGetCustomValue(lv_scientist, 0) == 0.0)) {
            lv_hybridLocalFirst = UnitGroup(null, gv_p07_NEUTRAL, RegionCircle(UnitGetPosition(lv_scientist), 6.0), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1);
            if ((UnitGroupCount(lv_hybridLocalFirst, c_unitCountAlive) > 0)) {
                UnitKill(lv_scientist);

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

    gt_Dogmeatgo = TriggerCreate("gt_Dogmeatgo_Func");
    TriggerEnable(gt_Dogmeatgo, false);
    TriggerAddEventUnitRegion(gt_Dogmeatgo, null, RegionCircle(PointFromId(632), 3.0), true);
}

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

    gt_GohomeDogmeat = TriggerCreate("gt_GohomeDogmeat_Func");
    TriggerEnable(gt_GohomeDogmeat, false);
    TriggerAddEventUnitRegion(gt_GohomeDogmeat, null, RegionCircle(PointFromId(672), 3.0), true);
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    if ((RegionContainsPoint(RegionCircle(PointFromId(113), 10.0), CameraGetTarget(gv_p1_USER)) == true) && (gv_gameOver == false) && (gv_inCinematic == false)) {
        CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.02, 2.0, 100.0, 2.0);
    }

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

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionCircle(UnitGetPosition(lv_hOLOBOARD), 5.0), 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/traynor01.sc2map/MapScript.galaxy:3659

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionCircle(UnitGetPosition(lv_hOLOBOARD), 8.0), 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/traynor01.sc2map/MapScript.galaxy:3782

        }

        if (!((UnitGroupCount(UnitGroup(null, gv_p1_USER, RegionCircle(UnitGetPosition(gv_holoboards[6]), 6.0), 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/traynor02.sc2map/MapScript.galaxy:2101

            Wait(1.0, c_timeGame);
        }
        if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_colonist), 5.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (ObjectiveGetState(gv_objectiveRebels) == c_objectiveStateCompleted)) {
            TriggerQueueEnter();
            if ((UnitIsAlive(lv_colonist) == true) && (gv_gameOver == false)) {

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

                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_colonist), c_animNameDefault, "Talk", c_animFlagNonLooping, c_animTimeDefault);
                UIAlertUnit("Transmission", gv_pLAYER_01_USER, StringToText(""), null, lv_colonist);
                libNtve_gf_MakeUnitFacePoint(lv_colonist, UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(lv_colonist), UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_colonist), 8.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0))), 0.5);
                libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
                libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

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

            Wait(1.0, c_timeGame);
        }
        if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_colonist), 5.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (ObjectiveGetState(gv_objectiveRebels) == c_objectiveStateCompleted)) {
            TriggerQueueEnter();
            if ((UnitIsAlive(lv_colonist) == true) && (gv_gameOver == false)) {

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

                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_colonist), c_animNameDefault, "Talk", c_animFlagNonLooping, c_animTimeDefault);
                UIAlertUnit("Transmission", gv_pLAYER_01_USER, StringToText(""), null, lv_colonist);
                libNtve_gf_MakeUnitFacePoint(lv_colonist, UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(lv_colonist), UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_colonist), 8.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0))), 0.5);
                libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
                libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());

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

            Wait(1.0, c_timeGame);
        }
        if ((UnitGroupCount(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_colonist), 5.0), UnitFilter(0, 0, (1 << c_targetFilterAir) | (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) > 0) && (ObjectiveGetState(gv_objectiveRebels) == c_objectiveStateCompleted)) {
            TriggerQueueEnter();
            if ((UnitIsAlive(lv_colonist) == true) && (gv_gameOver == false)) {

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

                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_colonist), c_animNameDefault, "Talk", c_animFlagNonLooping, c_animTimeDefault);
                UIAlertUnit("Transmission", gv_pLAYER_01_USER, StringToText(""), null, lv_colonist);
                libNtve_gf_MakeUnitFacePoint(lv_colonist, UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(lv_colonist), UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(lv_colonist), 8.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile) | (1 << c_targetFilterCloaked), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0))), 0.5);
                libCamp_gf_SetAllSoundChannelVolumesCampaign(libNtve_ge_VolumeChannelMode_Speech);
                libLbty_gf_PlayTransmissionCueSound(PlayerGroupAll());