# Point From XY

Grammar — Point(x, y)
FlagsNative | Function

Returns a 2D location as a point. This allows you to specify any location on the map grid as a viable value for a point parameter.

# Arguments

  • fixed — X
  • fixed — Y

Returns — point

native point Point(fixed x, fixed y);

Category: Point / Creation And Modification

# Examples

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

    gv_terraTronArmAttackInterval = (0.375 - (gv_terraTronArmAttackIntervalSmall * 2.0));
    gv_missileSpinnerFireTimer = TimerCreate();
    gv_screenUpperBound = Point(140.0, 134.0);
    gv_screenLowerBound = Point(116.0, 120.0);
    gv_bGPaused = true;

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

    gv_missileSpinnerFireTimer = TimerCreate();
    gv_screenUpperBound = Point(140.0, 134.0);
    gv_screenLowerBound = Point(116.0, 120.0);
    gv_bGPaused = true;
    gv_activeBackgroundUnits = UnitGroupEmpty();

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

void gf_SpawnTrainingPowerups () {
    // Implementation
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(1.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(1.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(18.5, -10.0)));

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(18.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
}

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


    SoundStop(gv_soundEmitterCheers, true);
    SoundPlayAtPoint(SoundLink("Emitter_CrowdPanic", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0);
    TriggerEnable(TriggerGetCurrent(), false);
    gv_sneakAttackBegun = true;

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

    GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1411), 0.0, -1, 10, true);
    SoundPlayAtPoint(SoundLink("Emitter_CrowdCheering", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0);
    gv_soundEmitterCheers = SoundLastPlayed();
    autoB4C5CF69_g = UnitGroup(null, gv_p06_CIVILIANS, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_midCinematicCompleted = false;
    SoundPlayAtPoint(SoundLink("Emitter_CrowdSmallDiscussion", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0);
    gv_crowdSoundEmitter = SoundLastPlayed();
    CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);

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

    Wait(2.5, c_timeReal);
    SoundStop(gv_crowdSoundEmitter, true);
    SoundPlayAtPoint(SoundLink("Emitter_CrowdGasp", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(1615)), c_animNameDefault, "Attack", c_animFlagNonLooping, c_animTimeDefault);
    SoundPlayOnUnit(SoundLink("Marine_AttackLaunch", 6), PlayerGroupAll(), UnitFromId(1615), 10.0, 100.0, 0.0);

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

        auto5CDEE1E7_var = UnitGroupUnitFromEnd(auto5CDEE1E7_g, auto5CDEE1E7_u);
        if (auto5CDEE1E7_var == null) { break; }
        UnitIssueOrder(auto5CDEE1E7_var, OrderTargetingPoint(AbilityCommand("move", 0), libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto5CDEE1E7_var), 1.0, Point(47.0, 77.0))), c_orderQueueReplace);
    }
    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(579), (SoundLengthSync(SoundLink("TRaynor02Adjutant00066", 0)) - 1.0), -1, 10, true);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:3711

    lv_x2 = PointGetX(lp_source);
    lv_y2 = PointGetY(lp_source);
    lv_sourceAfterScaled = Point((lv_x1 + ((lv_x2 - lv_x1) * lp_xRatio)), (lv_y1 + ((lv_y2 - lv_y1) * lp_yRatio)));
    lv_dis = DistanceBetweenPoints(lp_sourceCenter, lv_sourceAfterScaled);
    lv_angel = AngleBetweenPoints(lp_sourceCenter, lv_sourceAfterScaled);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:12557

    // Implementation
    gf_SceneRemoveCantinaTrophies();
    lv_loc = Point(lp_x, lp_y);
    lv_group = gf_SceneCantinaTrophiesUnitTypeGroup(lp_scene);
    auto71FC91DE_g = lv_group;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:12781

    // Implementation
    gf_SceneRemoveLabTrophies();
    lv_loc = Point(lp_x, lp_y);
    lv_group = gf_SceneLabTrophiesUnitTypeGroup();
    auto3846077A_g = lv_group;

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

            lv_u = UnitGroupUnitFromEnd(autoE96914E3_g, autoE96914E3_u);
            if (lv_u == null) { break; }
            UnitIssueOrder(lv_u, OrderTargetingPoint(AbilityCommand("move", 0), Point(UnitGetCustomValue(lv_u, 1), UnitGetCustomValue(lv_u, 2))), c_orderQueueReplace);
            if ((UnitGetCustomValue(lv_u, 0) == 1.0)) {
                UnitIssueOrder(lv_u, Order(AbilityCommand("RedstoneLavaCritterBurrow", 0)), c_orderQueueAddToEnd);

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

            auto67BD9FEE_var = UnitGroupUnitFromEnd(auto67BD9FEE_g, auto67BD9FEE_u);
            if (auto67BD9FEE_var == null) { break; }
            if ((libNtve_gf_UnitInRegion(auto67BD9FEE_var, RegionCircle(Point(UnitGetCustomValue(auto67BD9FEE_var, 0), UnitGetCustomValue(auto67BD9FEE_var, 1)), 2.0)) == true)) {
                if ((RandomInt(1, 40) == 1)) {
                    lv_randomPoint = RegionRandomPoint(RegionFromId(45));

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

            }
            else {
                UnitIssueOrder(auto67BD9FEE_var, OrderTargetingPoint(AbilityCommand("move", 0), Point(UnitGetCustomValue(auto67BD9FEE_var, 0), UnitGetCustomValue(auto67BD9FEE_var, 1))), c_orderQueueReplace);
            }
        }

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

            auto0F10452F_var = UnitGroupUnitFromEnd(auto0F10452F_g, auto0F10452F_u);
            if (auto0F10452F_var == null) { break; }
            if ((libNtve_gf_UnitInRegion(auto0F10452F_var, RegionCircle(Point(UnitGetCustomValue(auto0F10452F_var, 0), UnitGetCustomValue(auto0F10452F_var, 1)), 2.0)) == true)) {
                if ((RandomInt(1, 32) == 1)) {
                    lv_randomPoint = RegionRandomPoint(RegionFromId(47));

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

            }
            else {
                UnitIssueOrder(auto0F10452F_var, OrderTargetingPoint(AbilityCommand("move", 0), Point(UnitGetCustomValue(auto0F10452F_var, 0), UnitGetCustomValue(auto0F10452F_var, 1))), c_orderQueueReplace);
            }
        }

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

    libNtve_gf_MakeUnitInvulnerable(gv_nova, true);
    Wait(2.0, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(38.0, 86.0), 10.0), "Signal Nuked");
    TriggerExecute(gt_ObjectiveDestroyUpdateMineralDepotQ, true, false);
    TriggerExecute(gt_P1DoneQ, true, false);

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

    TriggerEnable(gt_P2BackupReapersQ, false);
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(157.0, 109.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(163.0, 103.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(157.0, 109.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(163.0, 103.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(148.0, 106.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(163.0, 103.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(148.0, 106.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(160.0, 96.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(148.0, 106.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(160.0, 96.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(142.0, 101.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(160.0, 96.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(142.0, 101.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(154.0, 89.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(142.0, 101.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(154.0, 89.0), 2.0), "Signal Nuked");
    TriggerExecute(gt_ObjectiveDestroyUpdateTerrazineRefineryQ, true, false);
    TriggerExecute(gt_P2DoneQ, true, false);

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

    UnitSetCustomValue(EventUnit(), 0, PointGetX(lv_randomPoint));
    UnitSetCustomValue(EventUnit(), 1, PointGetY(lv_randomPoint));
    UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(EventUnit(), 0), UnitGetCustomValue(EventUnit(), 1))), c_orderQueueReplace);
    return true;
}

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

            autoB111683E_var = UnitGroupUnitFromEnd(autoB111683E_g, autoB111683E_u);
            if (autoB111683E_var == null) { break; }
            if ((RegionContainsPoint(RegionCircle(Point(UnitGetCustomValue(autoB111683E_var, 0), UnitGetCustomValue(autoB111683E_var, 1)), 2.0), UnitGetPosition(autoB111683E_var)) == true)) {
                lv_randomPoint = RegionRandomPoint(RegionFromId(62));
                UnitSetCustomValue(autoB111683E_var, 0, PointGetX(lv_randomPoint));

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

            else {
                if ((RandomInt(1, 3) == 1)) {
                    UnitIssueOrder(autoB111683E_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(autoB111683E_var, 0), UnitGetCustomValue(autoB111683E_var, 1))), c_orderQueueReplace);
                }

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

    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto04D15821_ae = lv_di;
    lv_i = 1;

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

        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
    }
    ActorRegionCreate(null, "LaserRegion", gv_soundRegion);

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

            lv_u = UnitGroupUnitFromEnd(auto705DA511_g, auto705DA511_u);
            if (lv_u == null) { break; }
            lv_homeLoc = Point(UnitGetCustomValue(lv_u, 0), UnitGetCustomValue(lv_u, 1));
            if ((DistanceBetweenPoints(UnitGetPosition(lv_u), lv_homeLoc) > 10.0)) {
                UnitIssueOrder(lv_u, OrderTargetingPoint(AbilityCommand("attack", 0), lv_homeLoc), c_orderQueueReplace);

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

        lv_i = 0;
        for ( ; ( (auto4CA18CCC_ai >= 0 && lv_i <= auto4CA18CCC_ae) || (auto4CA18CCC_ai < 0 && lv_i >= auto4CA18CCC_ae) ) ; lv_i += auto4CA18CCC_ai ) {
            PlayerCreateEffectPoint(1, "WallOfFireDummy", Point(PointGetX(UnitGetPosition(gv_wALLOFFIRE)), ((IntToFixed(lv_i) * 3.5) + PointGetY(PointFromId(122)))));
        }
    }

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

                auto4771A35A_var = UnitGroupUnitFromEnd(auto4771A35A_g, auto4771A35A_u);
                if (auto4771A35A_var == null) { break; }
                if ((libNtve_gf_UnitInRegion(auto4771A35A_var, RegionCircle(Point(UnitGetCustomValue(auto4771A35A_var, 0), UnitGetCustomValue(auto4771A35A_var, 1)), 1.0)) == true) && (RandomInt(1, 6) == 1)) {
                    lv_randomSpot = RegionRandomPoint(gv_briefingSlaughterAreas[lv_i].lv_zergRegion);
                    UnitSetCustomValue(auto4771A35A_var, 0, PointGetX(lv_randomSpot));

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

                }
                else {
                    UnitIssueOrder(auto4771A35A_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto4771A35A_var, 0), UnitGetCustomValue(auto4771A35A_var, 1))), c_orderQueueReplace);
                }
            }

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

    SoundPlay(SoundLink("Ultralisk_Ready", 0), PlayerGroupAll(), 300.0, 0.0);
    CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.125, 2.5, 100.0, 3.0);
    RegionAttachToUnit(RegionFromId(106), gv_tHEONEOMEGALISK, Point(0.0, 0.0));
    Wait(2.6, c_timeGame);
    UnitIssueOrder(gv_tHEONEOMEGALISK, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(1889)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:464

            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifePercent, 100.0);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            RegionAttachToUnit(RegionFromId(28), gv_leviathan, Point(0.0, 0.0));
        }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4329

        UnitSetCustomValue(UnitLastCreated(), 0, PointGetX(lv_randomPoint));
        UnitSetCustomValue(UnitLastCreated(), 1, PointGetY(lv_randomPoint));
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), Point(UnitGetCustomValue(UnitLastCreated(), 0), UnitGetCustomValue(UnitLastCreated(), 1))), c_orderQueueReplace);
        UnitGroupAdd(lv_overlordAttackGroup, UnitLastCreated());
        Wait(0.1, c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4344

            autoD6231E2F_var = UnitGroupUnitFromEnd(autoD6231E2F_g, autoD6231E2F_u);
            if (autoD6231E2F_var == null) { break; }
            if ((libNtve_gf_UnitInRegion(autoD6231E2F_var, RegionCircle(Point(UnitGetCustomValue(autoD6231E2F_var, 0), UnitGetCustomValue(autoD6231E2F_var, 1)), 1.0)) == true) && (UnitGroupCount(UnitCargoGroup(autoD6231E2F_var), c_unitCountAlive) == 0)) {
                UnitIssueOrder(autoD6231E2F_var, Order(AbilityCommand("GenerateCreep", 0)), c_orderQueueReplace);
                UnitGroupRemove(lv_overlordAttackGroup, autoD6231E2F_var);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian03.sc2map/MapScript.galaxy:4349

            }
            else {
                UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), Point(UnitGetCustomValue(UnitLastCreated(), 0), UnitGetCustomValue(UnitLastCreated(), 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto4B7AEACA_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto4B7AEACA_var, 0), UnitGetCustomValue(auto4B7AEACA_var, 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto227EBC88_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto227EBC88_var, 0), UnitGetCustomValue(auto227EBC88_var, 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto76F80C67_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto76F80C67_var, 0), UnitGetCustomValue(auto76F80C67_var, 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto28730EB2_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto28730EB2_var, 0), UnitGetCustomValue(auto28730EB2_var, 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto394906C2_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto394906C2_var, 0), UnitGetCustomValue(auto394906C2_var, 1))), c_orderQueueReplace);
            }
        }

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

            else {
                UnitSetCustomValue(auto0685ADAD_var, 0, 0.0);
                if ((DistanceBetweenPoints(UnitGetPosition(auto0685ADAD_var), Point(UnitGetCustomValue(auto0685ADAD_var, 1), UnitGetCustomValue(auto0685ADAD_var, 2))) <= DistanceBetweenPoints(UnitGetPosition(auto0685ADAD_var), Point(UnitGetCustomValue(auto0685ADAD_var, 3), UnitGetCustomValue(auto0685ADAD_var, 4))))) {
                    UnitIssueOrder(auto0685ADAD_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto0685ADAD_var, 3), UnitGetCustomValue(auto0685ADAD_var, 4))), c_orderQueueReplace);
                }

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

            else {
                UnitSetCustomValue(auto0685ADAD_var, 0, 0.0);
                if ((DistanceBetweenPoints(UnitGetPosition(auto0685ADAD_var), Point(UnitGetCustomValue(auto0685ADAD_var, 1), UnitGetCustomValue(auto0685ADAD_var, 2))) <= DistanceBetweenPoints(UnitGetPosition(auto0685ADAD_var), Point(UnitGetCustomValue(auto0685ADAD_var, 3), UnitGetCustomValue(auto0685ADAD_var, 4))))) {
                    UnitIssueOrder(auto0685ADAD_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto0685ADAD_var, 3), UnitGetCustomValue(auto0685ADAD_var, 4))), c_orderQueueReplace);
                }

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

                UnitSetCustomValue(auto0685ADAD_var, 0, 0.0);
                if ((DistanceBetweenPoints(UnitGetPosition(auto0685ADAD_var), Point(UnitGetCustomValue(auto0685ADAD_var, 1), UnitGetCustomValue(auto0685ADAD_var, 2))) <= DistanceBetweenPoints(UnitGetPosition(auto0685ADAD_var), Point(UnitGetCustomValue(auto0685ADAD_var, 3), UnitGetCustomValue(auto0685ADAD_var, 4))))) {
                    UnitIssueOrder(auto0685ADAD_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto0685ADAD_var, 3), UnitGetCustomValue(auto0685ADAD_var, 4))), c_orderQueueReplace);
                }
                else {

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

                }
                else {
                    UnitIssueOrder(auto0685ADAD_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto0685ADAD_var, 1), UnitGetCustomValue(auto0685ADAD_var, 2))), c_orderQueueReplace);
                }
                if ((UnitGetType(auto0685ADAD_var) == "Overseer")) {

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:195

    gv_terraTronArmAttackInterval = (0.375 - (gv_terraTronArmAttackIntervalSmall * 2.0));
    gv_missileSpinnerFireTimer = TimerCreate();
    gv_screenUpperBound = Point(140.0, 134.0);
    gv_screenLowerBound = Point(116.0, 120.0);
    gv_bGPaused = true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:196

    gv_missileSpinnerFireTimer = TimerCreate();
    gv_screenUpperBound = Point(140.0, 134.0);
    gv_screenLowerBound = Point(116.0, 120.0);
    gv_bGPaused = true;
    gv_activeBackgroundUnits = UnitGroupEmpty();

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:694

void gf_SpawnTrainingPowerups () {
    // Implementation
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(1.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:696

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(1.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:698

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupSideMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(3.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToHealth", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:700

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(6.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:702

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupHealth", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(8.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToStrongerMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:704

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(11.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:706

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupStrongerMissiles", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(13.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToBomb", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(18.5, -10.0)));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tarcade.sc2mapMapScript.galaxy:708

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(16.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SS_PowerupBomb", 0, 0, gf_ConvertShooterCoordToMapCoord(Point(18.5, -10.0)));
    UnitBehaviorRemove(UnitLastCreated(), "SS_PowerupMorphToSideMissiles", 1);
}

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:2442


    SoundStop(gv_soundEmitterCheers, true);
    SoundPlayAtPoint(SoundLink("Emitter_CrowdPanic", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0);
    TriggerEnable(TriggerGetCurrent(), false);
    gv_sneakAttackBegun = true;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:6330

    GameSetBackground(c_backgroundFixed, "BraxisAlphaSkyBox", 100.0);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(1411), 0.0, -1, 10, true);
    SoundPlayAtPoint(SoundLink("Emitter_CrowdCheering", -1), PlayerGroupAll(), Point(80.0, 80.0), 0.0, 100.0, 0.0);
    gv_soundEmitterCheers = SoundLastPlayed();
    autoB4C5CF69_g = UnitGroup(null, gv_p06_CIVILIANS, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

    TriggerSkippableBegin(PlayerGroupAll(), 0, null, true, false);
    gv_midCinematicCompleted = false;
    SoundPlayAtPoint(SoundLink("Emitter_CrowdSmallDiscussion", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0);
    gv_crowdSoundEmitter = SoundLastPlayed();
    CinematicFade(true, 1.0, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);

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

    Wait(2.5, c_timeReal);
    SoundStop(gv_crowdSoundEmitter, true);
    SoundPlayAtPoint(SoundLink("Emitter_CrowdGasp", -1), PlayerGroupAll(), Point(41.0, 83.0), 0.0, 100.0, 0.0);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(UnitFromId(1615)), c_animNameDefault, "Attack", c_animFlagNonLooping, c_animTimeDefault);
    SoundPlayOnUnit(SoundLink("Marine_AttackLaunch", 6), PlayerGroupAll(), UnitFromId(1615), 10.0, 100.0, 0.0);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/traynor02.sc2mapMapScript.galaxy:4928

        auto5CDEE1E7_var = UnitGroupUnitFromEnd(auto5CDEE1E7_g, auto5CDEE1E7_u);
        if (auto5CDEE1E7_var == null) { break; }
        UnitIssueOrder(auto5CDEE1E7_var, OrderTargetingPoint(AbilityCommand("move", 0), libNtve_gf_PointOffsetTowardsPoint(UnitGetPosition(auto5CDEE1E7_var), 1.0, Point(47.0, 77.0))), c_orderQueueReplace);
    }
    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(579), (SoundLengthSync(SoundLink("TRaynor02Adjutant00066", 0)) - 1.0), -1, 10, true);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:3711

    lv_x2 = PointGetX(lp_source);
    lv_y2 = PointGetY(lp_source);
    lv_sourceAfterScaled = Point((lv_x1 + ((lv_x2 - lv_x1) * lp_xRatio)), (lv_y1 + ((lv_y2 - lv_y1) * lp_yRatio)));
    lv_dis = DistanceBetweenPoints(lp_sourceCenter, lv_sourceAfterScaled);
    lv_angel = AngleBetweenPoints(lp_sourceCenter, lv_sourceAfterScaled);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:12557

    // Implementation
    gf_SceneRemoveCantinaTrophies();
    lv_loc = Point(lp_x, lp_y);
    lv_group = gf_SceneCantinaTrophiesUnitTypeGroup(lp_scene);
    auto71FC91DE_g = lv_group;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2mapMapScript.galaxy:12781

    // Implementation
    gf_SceneRemoveLabTrophies();
    lv_loc = Point(lp_x, lp_y);
    lv_group = gf_SceneLabTrophiesUnitTypeGroup();
    auto3846077A_g = lv_group;

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

            lv_u = UnitGroupUnitFromEnd(autoE96914E3_g, autoE96914E3_u);
            if (lv_u == null) { break; }
            UnitIssueOrder(lv_u, OrderTargetingPoint(AbilityCommand("move", 0), Point(UnitGetCustomValue(lv_u, 1), UnitGetCustomValue(lv_u, 2))), c_orderQueueReplace);
            if ((UnitGetCustomValue(lv_u, 0) == 1.0)) {
                UnitIssueOrder(lv_u, Order(AbilityCommand("RedstoneLavaCritterBurrow", 0)), c_orderQueueAddToEnd);

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

            auto67BD9FEE_var = UnitGroupUnitFromEnd(auto67BD9FEE_g, auto67BD9FEE_u);
            if (auto67BD9FEE_var == null) { break; }
            if ((libNtve_gf_UnitInRegion(auto67BD9FEE_var, RegionCircle(Point(UnitGetCustomValue(auto67BD9FEE_var, 0), UnitGetCustomValue(auto67BD9FEE_var, 1)), 2.0)) == true)) {
                if ((RandomInt(1, 40) == 1)) {
                    lv_randomPoint = RegionRandomPoint(RegionFromId(45));

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

            }
            else {
                UnitIssueOrder(auto67BD9FEE_var, OrderTargetingPoint(AbilityCommand("move", 0), Point(UnitGetCustomValue(auto67BD9FEE_var, 0), UnitGetCustomValue(auto67BD9FEE_var, 1))), c_orderQueueReplace);
            }
        }

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

            auto0F10452F_var = UnitGroupUnitFromEnd(auto0F10452F_g, auto0F10452F_u);
            if (auto0F10452F_var == null) { break; }
            if ((libNtve_gf_UnitInRegion(auto0F10452F_var, RegionCircle(Point(UnitGetCustomValue(auto0F10452F_var, 0), UnitGetCustomValue(auto0F10452F_var, 1)), 2.0)) == true)) {
                if ((RandomInt(1, 32) == 1)) {
                    lv_randomPoint = RegionRandomPoint(RegionFromId(47));

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

            }
            else {
                UnitIssueOrder(auto0F10452F_var, OrderTargetingPoint(AbilityCommand("move", 0), Point(UnitGetCustomValue(auto0F10452F_var, 0), UnitGetCustomValue(auto0F10452F_var, 1))), c_orderQueueReplace);
            }
        }

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

    libNtve_gf_MakeUnitInvulnerable(gv_nova, true);
    Wait(2.0, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(38.0, 86.0), 10.0), "Signal Nuked");
    TriggerExecute(gt_ObjectiveDestroyUpdateMineralDepotQ, true, false);
    TriggerExecute(gt_P1DoneQ, true, false);

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

    TriggerEnable(gt_P2BackupReapersQ, false);
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(157.0, 109.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(163.0, 103.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(157.0, 109.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(163.0, 103.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(148.0, 106.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(163.0, 103.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(148.0, 106.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(160.0, 96.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(148.0, 106.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(160.0, 96.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(142.0, 101.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(160.0, 96.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(142.0, 101.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(154.0, 89.0), 2.0), "Signal Nuked");

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

    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(142.0, 101.0), 2.0), "Signal Nuked");
    Wait(0.3, c_timeGame);
    libNtve_gf_SendActorMessageToGameRegion(RegionCircle(Point(154.0, 89.0), 2.0), "Signal Nuked");
    TriggerExecute(gt_ObjectiveDestroyUpdateTerrazineRefineryQ, true, false);
    TriggerExecute(gt_P2DoneQ, true, false);

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

    UnitSetCustomValue(EventUnit(), 0, PointGetX(lv_randomPoint));
    UnitSetCustomValue(EventUnit(), 1, PointGetY(lv_randomPoint));
    UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(EventUnit(), 0), UnitGetCustomValue(EventUnit(), 1))), c_orderQueueReplace);
    return true;
}

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

            autoB111683E_var = UnitGroupUnitFromEnd(autoB111683E_g, autoB111683E_u);
            if (autoB111683E_var == null) { break; }
            if ((RegionContainsPoint(RegionCircle(Point(UnitGetCustomValue(autoB111683E_var, 0), UnitGetCustomValue(autoB111683E_var, 1)), 2.0), UnitGetPosition(autoB111683E_var)) == true)) {
                lv_randomPoint = RegionRandomPoint(RegionFromId(62));
                UnitSetCustomValue(autoB111683E_var, 0, PointGetX(lv_randomPoint));

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

            else {
                if ((RandomInt(1, 3) == 1)) {
                    UnitIssueOrder(autoB111683E_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(autoB111683E_var, 0), UnitGetCustomValue(autoB111683E_var, 1))), c_orderQueueReplace);
                }

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

    lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * 5.0));
    lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * 5.0));
    gv_soundRegion = RegionCircle(Point(lv_x, lv_y), 1.0);
    auto04D15821_ae = lv_di;
    lv_i = 1;

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

        lv_x = (PointGetX(lv_a) + (Cos(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        lv_y = (PointGetY(lv_a) + (Sin(lv_facing) * (IntToFixed(lv_i) * 5.0)));
        RegionAddCircle(gv_soundRegion, true, Point(lv_x, lv_y), 3.0);
    }
    ActorRegionCreate(null, "LaserRegion", gv_soundRegion);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2mapMapScript.galaxy:837

            lv_u = UnitGroupUnitFromEnd(auto705DA511_g, auto705DA511_u);
            if (lv_u == null) { break; }
            lv_homeLoc = Point(UnitGetCustomValue(lv_u, 0), UnitGetCustomValue(lv_u, 1));
            if ((DistanceBetweenPoints(UnitGetPosition(lv_u), lv_homeLoc) > 10.0)) {
                UnitIssueOrder(lv_u, OrderTargetingPoint(AbilityCommand("attack", 0), lv_homeLoc), c_orderQueueReplace);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus04.sc2mapMapScript.galaxy:1132

        lv_i = 0;
        for ( ; ( (auto4CA18CCC_ai >= 0 && lv_i <= auto4CA18CCC_ae) || (auto4CA18CCC_ai < 0 && lv_i >= auto4CA18CCC_ae) ) ; lv_i += auto4CA18CCC_ai ) {
            PlayerCreateEffectPoint(1, "WallOfFireDummy", Point(PointGetX(UnitGetPosition(gv_wALLOFFIRE)), ((IntToFixed(lv_i) * 3.5) + PointGetY(PointFromId(122)))));
        }
    }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:6809

                auto4771A35A_var = UnitGroupUnitFromEnd(auto4771A35A_g, auto4771A35A_u);
                if (auto4771A35A_var == null) { break; }
                if ((libNtve_gf_UnitInRegion(auto4771A35A_var, RegionCircle(Point(UnitGetCustomValue(auto4771A35A_var, 0), UnitGetCustomValue(auto4771A35A_var, 1)), 1.0)) == true) && (RandomInt(1, 6) == 1)) {
                    lv_randomSpot = RegionRandomPoint(gv_briefingSlaughterAreas[lv_i].lv_zergRegion);
                    UnitSetCustomValue(auto4771A35A_var, 0, PointGetX(lv_randomSpot));

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian01.sc2mapMapScript.galaxy:6815

                }
                else {
                    UnitIssueOrder(auto4771A35A_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto4771A35A_var, 0), UnitGetCustomValue(auto4771A35A_var, 1))), c_orderQueueReplace);
                }
            }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02a.sc2mapMapScript.galaxy:6411

    SoundPlay(SoundLink("Ultralisk_Ready", 0), PlayerGroupAll(), 300.0, 0.0);
    CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.125, 2.5, 100.0, 3.0);
    RegionAttachToUnit(RegionFromId(106), gv_tHEONEOMEGALISK, Point(0.0, 0.0));
    Wait(2.6, c_timeGame);
    UnitIssueOrder(gv_tHEONEOMEGALISK, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(1889)), c_orderQueueReplace);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:464

            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifePercent, 100.0);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            RegionAttachToUnit(RegionFromId(28), gv_leviathan, Point(0.0, 0.0));
        }

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:4329

        UnitSetCustomValue(UnitLastCreated(), 0, PointGetX(lv_randomPoint));
        UnitSetCustomValue(UnitLastCreated(), 1, PointGetY(lv_randomPoint));
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), Point(UnitGetCustomValue(UnitLastCreated(), 0), UnitGetCustomValue(UnitLastCreated(), 1))), c_orderQueueReplace);
        UnitGroupAdd(lv_overlordAttackGroup, UnitLastCreated());
        Wait(0.1, c_timeAI);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:4344

            autoD6231E2F_var = UnitGroupUnitFromEnd(autoD6231E2F_g, autoD6231E2F_u);
            if (autoD6231E2F_var == null) { break; }
            if ((libNtve_gf_UnitInRegion(autoD6231E2F_var, RegionCircle(Point(UnitGetCustomValue(autoD6231E2F_var, 0), UnitGetCustomValue(autoD6231E2F_var, 1)), 1.0)) == true) && (UnitGroupCount(UnitCargoGroup(autoD6231E2F_var), c_unitCountAlive) == 0)) {
                UnitIssueOrder(autoD6231E2F_var, Order(AbilityCommand("GenerateCreep", 0)), c_orderQueueReplace);
                UnitGroupRemove(lv_overlordAttackGroup, autoD6231E2F_var);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian03.sc2mapMapScript.galaxy:4349

            }
            else {
                UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("OverlordTransport", 2), Point(UnitGetCustomValue(UnitLastCreated(), 0), UnitGetCustomValue(UnitLastCreated(), 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto4B7AEACA_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto4B7AEACA_var, 0), UnitGetCustomValue(auto4B7AEACA_var, 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto227EBC88_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto227EBC88_var, 0), UnitGetCustomValue(auto227EBC88_var, 1))), c_orderQueueReplace);
            }
        }

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

            }
            else {
                UnitIssueOrder(auto76F80C67_var, OrderTargetingPoint(AbilityCommand("attack", 0), Point(UnitGetCustomValue(auto76F80C67_var, 0), UnitGetCustomValue(auto76F80C67_var, 1))), c_orderQueueReplace);
            }
        }