# Random Real

Grammar — Random real between min and max
FlagsNative | Function

Returns a random real between the specified values (inclusive).

# Arguments

  • fixed — Min
  • fixed — Max

Returns — fixed

native fixed RandomFixed(fixed min, fixed max);

Category: Math / Random

# Examples

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

    else {
    }
    lv_targetLoc = Point(RandomFixed(4.0, 16.0), RandomFixed(-0.5, -5.0));
    lv_targetLoc = gf_ConvertShooterCoordToMapCoord(lv_targetLoc);
    UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);

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

    else {
    }
    lv_targetLoc = Point(RandomFixed(4.0, 16.0), RandomFixed(-0.5, -5.0));
    lv_targetLoc = gf_ConvertShooterCoordToMapCoord(lv_targetLoc);
    UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);

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

    lv_index = 1;
    for ( ; ( (auto65881B2D_ai >= 0 && lv_index <= auto65881B2D_ae) || (auto65881B2D_ai <= 0 && lv_index >= auto65881B2D_ae) ) ; lv_index += auto65881B2D_ai ) {
        gf_SendWave("SS_Scourge", 1, 0.0, Point(RandomFixed(lp_x1, lp_x2), 1.0), 3, RandomFixed(-11.0, -14.0), 0.0, 0.0, 0.0, lv_speed, lv_speed1, 0, false);
        if ((lv_intervalTime < 0.0)) {
            lv_intervalTime = RandomFixed(0.0, lp_intervalMax);

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

    lv_index = 1;
    for ( ; ( (auto65881B2D_ai >= 0 && lv_index <= auto65881B2D_ae) || (auto65881B2D_ai <= 0 && lv_index >= auto65881B2D_ae) ) ; lv_index += auto65881B2D_ai ) {
        gf_SendWave("SS_Scourge", 1, 0.0, Point(RandomFixed(lp_x1, lp_x2), 1.0), 3, RandomFixed(-11.0, -14.0), 0.0, 0.0, 0.0, lv_speed, lv_speed1, 0, false);
        if ((lv_intervalTime < 0.0)) {
            lv_intervalTime = RandomFixed(0.0, lp_intervalMax);

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

        gf_SendWave("SS_Scourge", 1, 0.0, Point(RandomFixed(lp_x1, lp_x2), 1.0), 3, RandomFixed(-11.0, -14.0), 0.0, 0.0, 0.0, lv_speed, lv_speed1, 0, false);
        if ((lv_intervalTime < 0.0)) {
            lv_intervalTime = RandomFixed(0.0, lp_intervalMax);
            Wait(lv_intervalTime, c_timeGame);
        }

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

    lv_index = 1;
    for ( ; ( (auto4F469A0C_ai >= 0 && lv_index <= auto4F469A0C_ae) || (auto4F469A0C_ai <= 0 && lv_index >= auto4F469A0C_ae) ) ; lv_index += auto4F469A0C_ai ) {
        gf_SendWave("SS_Scourge", 1, 1.0, Point(RandomFixed(lv_xOff1, lv_xOff2), 1.0), 2, lv_x, lv_y, RandomFixed(lv_xOff1, lv_xOff2), RandomFixed(lv_yOff1, lv_yOff2), lv_speed, lv_wait, 0, true);
        lv_x += 2.0;
    }

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

    lv_index = 1;
    for ( ; ( (auto4F469A0C_ai >= 0 && lv_index <= auto4F469A0C_ae) || (auto4F469A0C_ai <= 0 && lv_index >= auto4F469A0C_ae) ) ; lv_index += auto4F469A0C_ai ) {
        gf_SendWave("SS_Scourge", 1, 1.0, Point(RandomFixed(lv_xOff1, lv_xOff2), 1.0), 2, lv_x, lv_y, RandomFixed(lv_xOff1, lv_xOff2), RandomFixed(lv_yOff1, lv_yOff2), lv_speed, lv_wait, 0, true);
        lv_x += 2.0;
    }

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

    lv_index = 1;
    for ( ; ( (auto4F469A0C_ai >= 0 && lv_index <= auto4F469A0C_ae) || (auto4F469A0C_ai <= 0 && lv_index >= auto4F469A0C_ae) ) ; lv_index += auto4F469A0C_ai ) {
        gf_SendWave("SS_Scourge", 1, 1.0, Point(RandomFixed(lv_xOff1, lv_xOff2), 1.0), 2, lv_x, lv_y, RandomFixed(lv_xOff1, lv_xOff2), RandomFixed(lv_yOff1, lv_yOff2), lv_speed, lv_wait, 0, true);
        lv_x += 2.0;
    }

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

    lv_index = 1;
    for ( ; ( (auto7F30F6AF_ai >= 0 && lv_index <= auto7F30F6AF_ae) || (auto7F30F6AF_ai <= 0 && lv_index >= auto7F30F6AF_ae) ) ; lv_index += auto7F30F6AF_ai ) {
        gf_SendWave("SS_Scourge", 1, 1.0, Point(RandomFixed(lv_xOff1, lv_xOff2), 1.0), 2, lv_x, lv_y, RandomFixed(lv_xOff1, lv_xOff2), RandomFixed(lv_yOff1, lv_yOff2), lv_speed, lv_wait, 0, true);
        lv_x += 2.0;
    }

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

    lv_index = 1;
    for ( ; ( (auto7F30F6AF_ai >= 0 && lv_index <= auto7F30F6AF_ae) || (auto7F30F6AF_ai <= 0 && lv_index >= auto7F30F6AF_ae) ) ; lv_index += auto7F30F6AF_ai ) {
        gf_SendWave("SS_Scourge", 1, 1.0, Point(RandomFixed(lv_xOff1, lv_xOff2), 1.0), 2, lv_x, lv_y, RandomFixed(lv_xOff1, lv_xOff2), RandomFixed(lv_yOff1, lv_yOff2), lv_speed, lv_wait, 0, true);
        lv_x += 2.0;
    }

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

        else {
            lv_randomHut = UnitGroupRandomUnit(gv_civilianSpawners, c_unitCountAlive);
            if ((RandomFixed(0.0, 100.0) >= 33.0)) {
                UnitCargoCreate(lv_randomHut, "Civilian", 1);
            }

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

            if (auto5E2EB195_var == null) { break; }
            if ((RandomInt(1, 3) == 1)) {
                lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(auto5E2EB195_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
                if ((RegionContainsPoint(RegionFromId(37), lv_tempPoint) == true)) {
                    UnitIssueOrder(auto5E2EB195_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);

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

            if (auto5E2EB195_var == null) { break; }
            if ((RandomInt(1, 3) == 1)) {
                lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(auto5E2EB195_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
                if ((RegionContainsPoint(RegionFromId(37), lv_tempPoint) == true)) {
                    UnitIssueOrder(auto5E2EB195_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);

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

            if (autoCE810A15_var == null) { break; }
            if ((RandomInt(1, 5) == 1)) {
                lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(autoCE810A15_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
                if ((RegionContainsPoint(RegionFromId(14), lv_tempPoint) == true)) {
                    UnitIssueOrder(autoCE810A15_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);

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

            if (autoCE810A15_var == null) { break; }
            if ((RandomInt(1, 5) == 1)) {
                lv_tempPoint = PointWithOffsetPolar(UnitGetPosition(autoCE810A15_var), RandomFixed(0.5, 1.5), RandomFixed(0.0, 360.0));
                if ((RegionContainsPoint(RegionFromId(14), lv_tempPoint) == true)) {
                    UnitIssueOrder(autoCE810A15_var, OrderTargetingPoint(AbilityCommand("move", 0), lv_tempPoint), c_orderQueueReplace);

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

    UnitIssueOrder(lv_unit, Order(AbilityCommand("ColonistShipLiftOff", 0)), c_orderQueueReplace);
    Wait(6.0, c_timeGame);
    UnitIssueOrder(lv_unit, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_unit), 5.0, RandomFixed(30.0, 60.0))), c_orderQueueReplace);
    Wait(3.0, c_timeGame);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_unit), c_animNameDefault, "Land Forward", 0, c_animTimeDefault);

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

        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);

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

        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);
        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)))) {

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

    }
    while (true) {
        Wait(RandomFixed(0.5, 2.0), c_timeGame);
        if ((UnitGroupCount(lv_attackersLeft, c_unitCountAlive) == 0)) {
            break;

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

    }
    while (true) {
        Wait(RandomFixed(0.5, 2.0), c_timeGame);
        if ((UnitGroupCount(lv_attackersRight, c_unitCountAlive) == 0)) {
            break;

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

        if (auto2D089EE8_var == null) { break; }
        UnitBehaviorAdd(auto2D089EE8_var, "ColonistWander", auto2D089EE8_var, 1);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
    }
    auto1918CEC7_g = UnitGroup("ColonistFemale", gv_pLAYER03_COLONIST, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        if (auto1918CEC7_var == null) { break; }
        UnitBehaviorAdd(auto1918CEC7_var, "ColonistWander", auto1918CEC7_var, 1);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
    }
    return true;

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

    }
    Wait(3.0, c_timeGame);
    UnitIssueOrder(lv_colonistShip, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_colonistShip), 5.0, RandomFixed(60.0, 70.0))), c_orderQueueAddToEnd);
    Wait(3.0, c_timeGame);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_colonistShip), c_animNameDefault, "Land Forward", c_animFlagNonLooping, c_animTimeDefault);

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

    }
    Wait(3.0, c_timeGame);
    UnitIssueOrder(lv_colonistShip, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_colonistShip), 5.0, RandomFixed(95.0, 105.0))), c_orderQueueAddToEnd);
    Wait(3.0, c_timeGame);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_colonistShip), c_animNameDefault, "Land Forward", c_animFlagNonLooping, c_animTimeDefault);

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

    }
    Wait(3.0, c_timeGame);
    UnitIssueOrder(lv_colonistShip, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_colonistShip), 5.0, RandomFixed(35.0, 45.0))), c_orderQueueAddToEnd);
    Wait(3.0, c_timeGame);
    libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_colonistShip), c_animNameDefault, "Land Forward", c_animFlagNonLooping, c_animTimeDefault);

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


    while (true) {
        Wait(RandomFixed(0.0, 1.5), c_timeGame);
        if ((RandomInt(1, 4) == 1)) {
            libNtve_gf_CreateUnitsAtPoint2(1, "VoidRay", 0, gv_pLAYER02_PROTOSS, RegionRandomPoint(RegionFromId(43)));

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:5916

    lv_i = 1;
    for ( ; ( (auto92BAF6BC_ai >= 0 && lv_i <= auto92BAF6BC_ae) || (auto92BAF6BC_ai < 0 && lv_i >= auto92BAF6BC_ae) ) ; lv_i += auto92BAF6BC_ai ) {
        libNtve_gf_UnitCreateFacingPoint(1, "Marine", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(2.0, 4.0), ((90.0 * IntToFixed(lv_i)) + 45.0)), UnitGetPosition(lv_crate));
        UnitGroupAdd(lv_crateUnits, UnitLastCreated());
    }

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

        UnitGroupAdd(lv_crateUnits, UnitLastCreated());
    }
    libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) + 90.0)), UnitGetPosition(lv_crate));
    libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) - 90.0)), UnitGetPosition(lv_crate));
    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(59), 0.0, -1, 10, true);

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

    }
    libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) + 90.0)), UnitGetPosition(lv_crate));
    libNtve_gf_UnitCreateFacingPoint(1, "Diamondback", 0, gv_pLAYER_01_USER, PointWithOffsetPolar(UnitGetPosition(lv_crate), RandomFixed(5.0, 6.0), (UnitGetFacing(lv_crate) - 90.0)), UnitGetPosition(lv_crate));
    CameraApplyInfo(gv_pLAYER_01_USER, CameraInfoFromId(59), 0.0, -1, 10, true);
    CameraPan(1, UnitGetPosition(lv_crate), 0.0, -1, 10, false);

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

    else {
    }
    Wait(RandomFixed(2.0, 4.0), c_timeGame);
    lv_random = RandomInt(1, 2);
    autoD651B133_val = lv_random;

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

    else {
    }
    Wait(RandomFixed(2.0, 4.0), c_timeGame);
    lv_random = RandomInt(1, 2);
    auto9177EB0C_val = lv_random;

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

    else {
    }
    Wait(RandomFixed(2.0, 4.0), c_timeGame);
    lv_random = RandomInt(1, 2);
    auto9BB4536C_val = lv_random;

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

                lv_angle = AngleBetweenPoints(UnitGetPosition(EventUnit()), UnitGetPosition(lv_scientist));
            }
            lv_whereToRun = PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(3.0, 9.0), (lv_angle + RandomFixed(-20.0, 20.0)));
            UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
            UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

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

                lv_angle = AngleBetweenPoints(UnitGetPosition(EventUnit()), UnitGetPosition(lv_scientist));
            }
            lv_whereToRun = PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(3.0, 9.0), (lv_angle + RandomFixed(-20.0, 20.0)));
            UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
            UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

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

            if ((UnitGroupCount(lv_intruderGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);
                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_intruderGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

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

            if ((UnitGroupCount(lv_brutaliskGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);
                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_brutaliskGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

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

            if ((UnitGroupCount(lv_hybridGroup, c_unitCountAlive) > 0)) {
                UnitSetCustomValue(lv_scientist, 0, 1.0);
                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_hybridGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);

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

        }

        Wait(RandomFixed(1.0, 3.0), c_timeGame);
    }
    return true;

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

        }
    }
    Wait(RandomFixed(4.0, 5.5), c_timeGame);
    TriggerExecute(gt_DominionCompoundCheer, true, false);
    return true;

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

    }
    TriggerEnable(TriggerGetCurrent(), true);
    Wait(RandomFixed(2.0, 5.0), c_timeGame);
    TriggerExecute(gt_DominionCivilianCompound, true, false);
    return true;

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

    // Implementation
    lv_radius = (AbsF((PointGetX(RegionGetBoundsMax(lp_circle)) - PointGetX(RegionGetBoundsMin(lp_circle)))) / 2.0);
    return PointWithOffsetPolar(RegionGetCenter(lp_circle), RandomFixed(0.0, lv_radius), libNtve_gf_RandomAngle());
}

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

            TriggerDebugOutput(1, (StringExternal("Param/Value/0913E0DC") + libNtve_gf_ConvertBooleanToText(gv_jukeboxes[lv_jukeboxID].lv_startRandom) + StringExternal("Param/Value/8BCDDABD") + libNtve_gf_ConvertBooleanToText(gv_jukeboxes[lv_jukeboxID].lv_playback.lv_startedBefore)), false);
            if ((gv_jukeboxes[lv_jukeboxID].lv_startRandom == true) && (gv_jukeboxes[lv_jukeboxID].lv_playback.lv_startedBefore == false)) {
                lv_offset = RandomFixed(10.0, 60.0);
                gv_jukeboxes[lv_jukeboxID].lv_playback.lv_startedBefore = true;
                TriggerDebugOutput(1, (StringExternal("Param/Value/4062419E") + FixedToText(lv_offset, c_fixedPrecisionAny)), false);

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

        if (auto77EFDEB6_var == null) { break; }
        UnitIssueOrder(auto77EFDEB6_var, Order(AbilityCommand("BurrowBanelingUp", 0)), c_orderQueueReplace);
        Wait(RandomFixed(0.1, 0.25), c_timeGame);
    }
    Wait(0.5, c_timeGame);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:4075

            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(936)), c_orderQueueAddToEnd);
        }
        Wait(RandomFixed(1.0, 3.0), c_timeGame);
    }
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttosh02.sc2map/MapScript.galaxy:4141

        }
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(1))), c_orderQueueReplace);
        Wait(RandomFixed(2.0, 4.0), c_timeGame);
    }
    return true;

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

        if (auto222AD403_var == null) { break; }
        if ((auto222AD403_var != lv_searcher)) {
            UnitSetFacing(auto222AD403_var, libNtve_gf_RandomAngle(), RandomFixed(0.4, 0.7));
        }

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

        autoC19B2762_var = UnitGroupUnitFromEnd(autoC19B2762_g, autoC19B2762_u);
        if (autoC19B2762_var == null) { break; }
        UnitSetFacing(autoC19B2762_var, libNtve_gf_RandomAngle(), RandomFixed(0.4, 0.7));
    }
    Wait(2.0, c_timeGame);

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

        autoC61A92F2_var = UnitGroupUnitFromEnd(autoC61A92F2_g, autoC61A92F2_u);
        if (autoC61A92F2_var == null) { break; }
        UnitSetFacing(autoC61A92F2_var, libNtve_gf_RandomAngle(), RandomFixed(0.4, 0.7));
    }
    Wait(2.0, c_timeGame);

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

        if ((autoE591F78B_var != lv_searcher)) {
            UnitIssueOrder(autoE591F78B_var, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
            UnitSetFacing(autoE591F78B_var, libNtve_gf_RandomAngle(), RandomFixed(0.4, 0.7));
        }

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

        if (auto33C5FB9C_var == null) { break; }
        UnitIssueOrder(auto33C5FB9C_var, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
        UnitSetFacing(auto33C5FB9C_var, libNtve_gf_RandomAngle(), RandomFixed(0.4, 0.7));
    }
    Wait(1.5, c_timeGame);

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

        if (auto9AD48716_var == null) { break; }
        UnitIssueOrder(auto9AD48716_var, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2023)), c_orderQueueReplace);
        Wait(RandomFixed(0.1, 0.3), c_timeGame);
    }
    return true;

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

    libNtve_gf_CreateActorAtPoint(lp_crashingDoodadType, RegionRandomPoint(RegionFromId(87)));
    lv_crashingDoodad = libNtve_gf_ActorLastCreated();
    libNtve_gf_MakeModelFaceAngle(lv_crashingDoodad, RandomFixed(135.0, 225.0));
    libNtve_gf_PlayAnimation(lv_crashingDoodad, c_animNameDefault, "Death", c_animFlagNonLooping, c_animTimeDefault);
    Wait(20.0, c_timeGame);

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

        autoCF5FA138_val = RandomInt(0, 1);
        if (autoCF5FA138_val == 0) {
            UnitIssueOrder(lv_droppedBuilding, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_droppedBuilding), 8.0, RandomFixed(195.0, 255.0))), c_orderQueueReplace);
        }
        else if (autoCF5FA138_val == 1) {

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

        }
        else if (autoCF5FA138_val == 1) {
            UnitIssueOrder(lv_droppedBuilding, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(lv_droppedBuilding), 8.0, RandomFixed(285.0, 345.0))), c_orderQueueReplace);
        }
        else {

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


    TriggerEnable(TriggerGetCurrent(), false);
    Wait(RandomFixed(1.0, 3.0), c_timeGame);
    UnitKill(UnitFromId(492));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 1.0, 100.0, 2.0);

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


    TriggerEnable(TriggerGetCurrent(), false);
    Wait(RandomFixed(1.0, 3.0), c_timeGame);
    UnitKill(UnitFromId(494));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 1.0, 100.0, 2.0);

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


    TriggerEnable(TriggerGetCurrent(), false);
    Wait(RandomFixed(1.0, 3.0), c_timeGame);
    UnitKill(UnitFromId(495));
    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.06, 1.0, 100.0, 2.0);

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

    libNtve_gf_CreateActorAtPoint("CharCrashingBarracks", PointFromId(1080));
    lv_crashBarracks01 = libNtve_gf_ActorLastCreated();
    libNtve_gf_MakeModelFaceAngle(lv_crashBarracks01, RandomFixed(135.0, 225.0));
    libNtve_gf_PlayAnimation(lv_crashBarracks01, c_animNameDefault, "Death", c_animFlagNonLooping, c_animTimeDefault);
    Wait(20.0, c_timeGame);

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

    auto57982A3B_val = RandomInt(0, 1);
    if (auto57982A3B_val == 0) {
        libNtve_gf_MakeModelFaceAngle(lv_crashBarracks02, RandomFixed(135.0, 225.0));
    }
    else if (auto57982A3B_val == 1) {

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

    }
    else if (auto57982A3B_val == 1) {
        libNtve_gf_MakeModelFaceAngle(lv_crashBarracks02, RandomFixed(315.0, 45.0));
    }
    else {

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

    auto4FF0DC47_val = RandomInt(0, 1);
    if (auto4FF0DC47_val == 0) {
        libNtve_gf_MakeModelFaceAngle(lv_crashFactory01, RandomFixed(135.0, 225.0));
    }
    else if (auto4FF0DC47_val == 1) {

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

        UnitSetPropertyFixed(lp_activatedunit, c_unitPropMovementSpeed, gv_swarmlingSpeed);
        if ((libNtve_gf_RandomPercent() >= 50.0)) {
            UnitSetPropertyFixed(lp_activatedunit, c_unitPropMovementSpeed, (UnitGetPropertyFixed(lp_activatedunit, c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(1.4, 1.9)));
        }

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

    if ((UnitGetType(lp_activatedunit) == "InfestedCivilian")) {
        if ((libNtve_gf_RandomPercent() >= 50.0)) {
            UnitSetPropertyFixed(lp_activatedunit, c_unitPropMovementSpeed, (UnitGetPropertyFixed(lp_activatedunit, c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(1.4, 1.9)));
        }

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

            autoABAA533D_n = gv__2NydusKillTeamSwarmlingSpawnAmt;
            for (autoABAA533D_i = 1; autoABAA533D_i <= autoABAA533D_n; autoABAA533D_i += 1) {
                libNtve_gf_CreateUnitsAtPoint2(1, "Swarmling", 0, gv_p2_ZERG, PointWithOffsetPolar(UnitGetPosition(lv_unit), 0.5, RandomFixed(240.0, 300.0)));
                UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(954)), c_orderQueueReplace);
                UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(806)), c_orderQueueAddToEnd);

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

                UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, gv_swarmlingSpeed);
                if ((libNtve_gf_RandomPercent() >= 50.0)) {
                    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitGetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(1.4, 1.9)));
                }

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

        autoB2C7F7D1_var = UnitGroupUnitFromEnd(autoB2C7F7D1_g, autoB2C7F7D1_u);
        if (autoB2C7F7D1_var == null) { break; }
        UnitSetFacing(autoB2C7F7D1_var, RandomFixed(200.0, 250.0), 0.75);
    }
    Wait(3.0, c_timeGame);

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


    SoundPlay(SoundLink("QueenYes", 8), PlayerGroupAll(), 200.0, 0.0);
    CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.125, 2.5, 100.0, RandomFixed(2.0, 4.0));
    return true;
}

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

    while (true) {
        if ((gv_gameOver == false)) {
            CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.2, 2.5, 100.0, RandomFixed(2.0, 4.0));
            Wait(RandomFixed(8.0, 12.0), c_timeGame);
        }

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

        if ((gv_gameOver == false)) {
            CameraShakeStart(gv_p1_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.2, 2.5, 100.0, RandomFixed(2.0, 4.0));
            Wait(RandomFixed(8.0, 12.0), c_timeGame);
        }
        else {

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

        if (autoAF2523CF_var == null) { break; }
        if ((libNtve_gf_RandomPercent() >= 50.0)) {
            UnitSetPropertyFixed(autoAF2523CF_var, c_unitPropMovementSpeed, (UnitGetPropertyFixed(autoAF2523CF_var, c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(1.4, 1.9)));
        }

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

        if (autoE8432A05_var == null) { break; }
        if ((libNtve_gf_RandomPercent() >= 50.0)) {
            UnitSetPropertyFixed(autoE8432A05_var, c_unitPropMovementSpeed, (UnitGetPropertyFixed(autoE8432A05_var, c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(1.4, 1.9)));
        }

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

    }

    Wait(RandomFixed(0.0, 1.0), c_timeAI);
    Wait(libNtve_gf_DifficultyValueFixed(32.0, 32.0, 24.0, 16.0), c_timeAI);
    if (((gv_zergDefenders[lv_unitIndex].lv_unitType == "SpineCrawlerUprooted") || (gv_zergDefenders[lv_unitIndex].lv_unitType == "SporeCrawlerUprooted"))) {

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

        }
        UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(528)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeReal);
    }
    return true;

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

        }
        UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(528)), c_orderQueueReplace);
        Wait(RandomFixed(2.0, 3.0), c_timeReal);
    }
    return true;

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

    }

    Wait(RandomFixed(0.5, 2.0), c_timeGame);
    if ((TriggerIsEnabled(TriggerGetCurrent()) == true)) {
        UnitIssueOrder(EventUnit(), Order(AbilityCommand("stop", 0)), c_orderQueueReplace);

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

        auto1C41810C_var = UnitGroupUnitFromEnd(auto1C41810C_g, auto1C41810C_u);
        if (auto1C41810C_var == null) { break; }
        lv_point = PointWithOffsetPolar(UnitGetPosition(auto1C41810C_var), 50.0, RandomFixed(215.0, 235.0));
        libNtve_gf_ShowHideUnit(auto1C41810C_var, true);
        libNtve_gf_PauseUnit(auto1C41810C_var, false);

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

        UnitSetCustomValue(auto1C41810C_var, 0, PointGetX(lv_point));
        UnitSetCustomValue(auto1C41810C_var, 1, PointGetY(lv_point));
        UnitSetPropertyFixed(auto1C41810C_var, c_unitPropMovementSpeed, (UnitGetPropertyFixed(auto1C41810C_var, c_unitPropMovementSpeed, c_unitPropNormal) * RandomFixed(0.85, 1.2)));
    }
    Wait(7.0, c_timeGame);

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

    for (auto83F1D9EE_i = 1; auto83F1D9EE_i <= auto83F1D9EE_n; auto83F1D9EE_i += 1) {
        lv_real = libNtve_gf_RandomAngle();
        libNtve_gf_UnitCreateFacingPoint(1, "Scourge", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));

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

        libNtve_gf_UnitCreateFacingPoint(1, "Scourge", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitGetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(lv_minSpeed, lv_maxSpeed)));
        UnitGroupAdd(gv_zergEncircleGroupLeft, UnitLastCreated());

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

        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitGetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(lv_minSpeed, lv_maxSpeed)));
        UnitGroupAdd(gv_zergEncircleGroupLeft, UnitLastCreated());
    }

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

    for (autoE0DD90D0_i = 1; autoE0DD90D0_i <= autoE0DD90D0_n; autoE0DD90D0_i += 1) {
        lv_real = libNtve_gf_RandomAngle();
        libNtve_gf_UnitCreateFacingPoint(1, "Scourge", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));

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

        libNtve_gf_UnitCreateFacingPoint(1, "Scourge", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitGetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(lv_minSpeed, lv_maxSpeed)));
        UnitGroupAdd(gv_zergEncircleGroupRight, UnitLastCreated());

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

        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitGetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(lv_minSpeed, lv_maxSpeed)));
        UnitGroupAdd(gv_zergEncircleGroupRight, UnitLastCreated());
    }

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

    for (auto86A986EC_i = 1; auto86A986EC_i <= auto86A986EC_n; auto86A986EC_i += 1) {
        lv_real = libNtve_gf_RandomAngle();
        libNtve_gf_UnitCreateFacingPoint(1, "Scourge", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));

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

        libNtve_gf_UnitCreateFacingPoint(1, "Scourge", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);
        UnitSetCustomValue(UnitLastCreated(), 1, RandomFixed(lv_minWrap, lv_maxWrap));
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, (UnitGetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, c_unitPropCurrent) * RandomFixed(lv_minSpeed, lv_maxSpeed)));
        UnitGroupAdd(gv_zergEncircleGroupLeft, UnitLastCreated());

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:531

        auto232041B0_var = UnitGroupUnitFromEnd(auto232041B0_g, auto232041B0_u);
        if (auto232041B0_var == null) { break; }
        UnitSetPropertyFixed(auto232041B0_var, c_unitPropLifePercent, RandomFixed(85.0, 95.0));
        UnitGroupAdd(gv_infestedWarpGateGroup, auto232041B0_var);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:866


    while (true) {
        Wait(RandomFixed(180.0, 240.0), c_timeGame);
        libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionEntireMap(), "RainEmitterMedium", c_animNameDefault, "Death", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
        gv_rainOn = false;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:869

        libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionEntireMap(), "RainEmitterMedium", c_animNameDefault, "Death", c_animFlagPlayForever | c_animFlagNonLooping, c_animTimeDefault);
        gv_rainOn = false;
        Wait(RandomFixed(180.0, 240.0), c_timeGame);
        libNtve_gf_PlayAnimationOnDoodadsInRegion(RegionEntireMap(), "RainEmitterMedium", c_animNameDefault, "Stand", 0, c_animTimeDefault);
        gv_rainOn = true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:4657

    }

    Wait(RandomFixed(1.0, 3.0), c_timeGame);
    UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(5))), c_orderQueueReplace);
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5439

        libNtve_gf_UnitCreateFacingPoint(1, "Overlord", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(34)), PointFromId(627));
        UnitGroupAdd(gv_victoryZergGroupS4, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, RandomFixed(3.0, 15.0));
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(567)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5445

        libNtve_gf_UnitCreateFacingPoint(1, "Mutalisk", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(34)), PointFromId(627));
        UnitGroupAdd(gv_victoryZergGroupS4, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, RandomFixed(3.0, 12.0));
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(567)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5451

        libNtve_gf_UnitCreateFacingPoint(1, "Scourge", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(34)), PointFromId(627));
        UnitGroupAdd(gv_victoryZergGroupS4, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, RandomFixed(3.0, 15.0));
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(567)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5457

        libNtve_gf_UnitCreateFacingPoint(1, "Overseer", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(34)), PointFromId(627));
        UnitGroupAdd(gv_victoryZergGroupS4, UnitLastCreated());
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, RandomFixed(3.0, 12.0));
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(567)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5622

    for (autoB2DB2BC2_i = 1; autoB2DB2BC2_i <= autoB2DB2BC2_n; autoB2DB2BC2_i += 1) {
        libNtve_gf_UnitCreateFacingPoint(1, "Mutalisk", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(30)), PointFromId(627));
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, RandomFixed(3.0, 12.0));
        UnitGroupAdd(gv_victoryZergGroupS4, UnitLastCreated());
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(567)), c_orderQueueReplace);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul03.sc2map/MapScript.galaxy:5626

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(567)), c_orderQueueReplace);
        libNtve_gf_UnitCreateFacingPoint(1, "Mutalisk", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(30)), PointFromId(627));
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, RandomFixed(3.0, 12.0));
        UnitGroupAdd(gv_victoryZergGroupS4, UnitLastCreated());
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(567)), c_orderQueueReplace);

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

            libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Zerg, lv_creepTumorPoint, UnitGroupEmpty(), true);
            libNtve_gf_CreateUnitsWithDefaultFacing(1, "CreepTumor", c_unitCreateConstruct, gv_p07_FRENZIED_ZERG, lv_creepTumorPoint);
            Wait(RandomFixed(5.0, 25.0), c_timeGame);
        }
        else {

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

    else {
    }
    Wait(RandomFixed(1.0, 5.0), c_timeGame);
    if ((lv_tYPE == "SpineCrawler")) {
        libNtve_gf_CreateUnitsWithDefaultFacing(1, "SpineCrawlerUprooted", 0, lv_pLAYER, RegionGetCenter(lv_sPAWN));

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

    else {
    }
    lv_targetLoc = Point(RandomFixed(4.0, 16.0), RandomFixed(-0.5, -5.0));
    lv_targetLoc = gf_ConvertShooterCoordToMapCoord(lv_targetLoc);
    UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);