# Random Angle

Grammar — Random angle
FlagsFunction

Returns a random angle between 0 and 360 (inclusive).

Returns — fixed

fixed libNtve_gf_RandomAngle();

Category: Math / Random

# Examples

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

    // Implementation
    gv_levelTotalPowerups += 1;
    UnitCreate(1, lp_type, 0, gv_p0_NEUTRAL, lp_pos, libNtve_gf_RandomAngle());
    UnitGroupAdd(gv_powerups, UnitLastCreated());
    UnitSetState(UnitLastCreated(), c_unitStateHighlightable, false);

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

        else {
        }
        lv_newLoc = PointWithOffsetPolar(lv_center, RandomFixed(3.0, 4.0), libNtve_gf_RandomAngle());
        UnitIssueOrder(lp_powerup, OrderTargetingPoint(AbilityCommand("move", 0), lv_newLoc), c_orderQueueReplace);
        Wait(RandomFixed(4.0, 7.0), c_timeGame);

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

    Wait(1.0, c_timeGame);
    if ((gv_alternateSpinAttack == false)) {
        lv_randomFacing = libNtve_gf_RandomAngle();
        lv_facingL = lv_randomFacing;
        lv_facingR = lv_randomFacing;

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


    // Implementation
    UnitCreate(lp_number, lp_unitType, 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(lp_spawnRegion), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_lastGroup);
    UnitGroupIssueOrder(lv_lastGroup, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);

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

    lv_i = 1;
    for ( ; ( (auto9980B5B2_ai >= 0 && lv_i <= auto9980B5B2_ae) || (auto9980B5B2_ai < 0 && lv_i >= auto9980B5B2_ae) ) ; lv_i += auto9980B5B2_ai ) {
        UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(44)), libNtve_gf_RandomAngle());
        UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
    }

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

    lv_i = 1;
    for ( ; ( (auto5F96F25C_ai >= 0 && lv_i <= auto5F96F25C_ae) || (auto5F96F25C_ai < 0 && lv_i >= auto5F96F25C_ae) ) ; lv_i += auto5F96F25C_ai ) {
        UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(45)), libNtve_gf_RandomAngle());
        UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
    }

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

    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3537));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());

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

    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());
    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
    UnitCreate(2, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());

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

    UnitCreate(3, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(26)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
    UnitCreate(2, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(27)), libNtve_gf_RandomAngle());
    libNtve_gf_CreateUnitsAtPoint2(2, "Marine", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2364));

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

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

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


    if ((lv_defenderType == "InfestedVentMutaliskEgg")) {
        UnitCreate(1, lv_defenderType, 0, gv_p07_ZERG_INFESTED, gv_infestationDefenderLocation[lp_colonyIndex][lp_defenderIndex], libNtve_gf_RandomAngle());
        gv_infestationDefenderUnit[lp_colonyIndex][lp_defenderIndex] = UnitLastCreated();
        return ;

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


    if ((lv_defenderType == "InfestedVentBroodLordEgg")) {
        UnitCreate(1, lv_defenderType, 0, gv_p07_ZERG_INFESTED, gv_infestationDefenderLocation[lp_colonyIndex][lp_defenderIndex], libNtve_gf_RandomAngle());
        gv_infestationDefenderUnit[lp_colonyIndex][lp_defenderIndex] = UnitLastCreated();
        return ;

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/traynor03.sc2map/MapScript.galaxy:384

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
        SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
        UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
        AISetGroupSuicide(UnitLastCreatedGroup(), true);
        Wait(lp_delay, c_timeAI);

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

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
        SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
        UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
        AISetGroupSuicide(UnitLastCreatedGroup(), true);
        Wait(lp_delay, c_timeAI);

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

        libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
        SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
        UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
        UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(363)), c_orderQueueReplace);
        Wait(lp_delay, c_timeGame);

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

    UnitCreate(1, "SpecialOpsDropship", 0, gv_p01_USER, PointFromId(792), 45.0);
    gv_victoryDropship = UnitLastCreated();
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(291), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(787), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(291), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(787), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(788), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(787), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(788), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(789), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(788), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(789), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(790), libNtve_gf_RandomAngle());

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

    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(789), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    UnitCreate(1, "SCV", 0, gv_p01_USER, PointFromId(790), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    for (auto3F5C4282_i = 1; auto3F5C4282_i <= auto3F5C4282_n; auto3F5C4282_i += 1) {

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

    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_victorySCV);
    for (auto3F5C4282_i = 1; auto3F5C4282_i <= auto3F5C4282_n; auto3F5C4282_i += 1) {
        UnitCreate(1, "Marine", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(64)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
        libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

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

    }
    for (auto407E93C5_i = 1; auto407E93C5_i <= auto407E93C5_n; auto407E93C5_i += 1) {
        UnitCreate(1, "Medic", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(66)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_victoryMarines, UnitLastCreated());
        libNtve_gf_ChangeUnitDamage(UnitLastCreated(), libNtve_ge_UnitDamageTakenDealt_Damage_Take, libNtve_ge_UnitDamageChangeOption_Minimal);

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/tvalerian01.sc2map/MapScript.galaxy:557

        autoAC8E8DC3_n = lp_num;
        for (autoAC8E8DC3_i = 1; autoAC8E8DC3_i <= autoAC8E8DC3_n; autoAC8E8DC3_i += 1) {
            UnitCreate(1, lp_gankUnitType, 0, gv_p07_ZERG_PINK, RegionRandomPoint(gf_GetClosestRegionToSpawn(lp_spawnRegion)), libNtve_gf_RandomAngle());
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), RegionRandomPoint(lp_spawnRegion)), c_orderQueueReplace);
            UnitGroupAdd(lp_unitGroup, UnitLastCreated());

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

        auto0931D563_n = lp_num;
        for (auto0931D563_i = 1; auto0931D563_i <= auto0931D563_n; auto0931D563_i += 1) {
            UnitCreate(1, lp_gankUnitType, 0, gv_p07_ZERG_PINK, RegionRandomPoint(lp_spawnRegion), libNtve_gf_RandomAngle());
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
            UnitBehaviorAdd(UnitLastCreated(), "LarvaWander", UnitLastCreated(), 1);

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

    gf_PrepareGankTeam(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "Roach", RegionFromId(31), gv_gankGroupDrop03);
    gf_PrepareGankTeam(libNtve_gf_DifficultyValueInt(0, 0, 0, 3), "Baneling", RegionFromId(31), gv_gankGroupDrop03);
    UnitCreate(1, "SpineCrawlerUprooted", 0, gv_p07_ZERG_PINK, PointFromId(36), libNtve_gf_RandomAngle());
    lv_gankSunken01 = UnitLastCreated();
    UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken01);

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

    UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken01);
    if ((libNtve_gf_DifficultyValueInt(0, 1, 1, 1) == 1)) {
        UnitCreate(1, "SpineCrawlerUprooted", 0, gv_p07_ZERG_PINK, PointFromId(29), libNtve_gf_RandomAngle());
        lv_gankSunken02 = UnitLastCreated();
        UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken02);

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


    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
        UnitCreate(1, "SpineCrawlerUprooted", 0, gv_p07_ZERG_PINK, PointFromId(108), libNtve_gf_RandomAngle());
        lv_gankSunken03 = UnitLastCreated();
        UnitGroupAdd(gv_gankGroupDrop03, lv_gankSunken03);

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

    UnitKill(lp_poppedEgg);
    Wait(0.1, c_timeGame);
    UnitCreate(1, "Baneling", 0, 0, lv_poppedEggPoint, libNtve_gf_RandomAngle());
    UnitBehaviorRemove(UnitLastCreated(), "BanelingExplode", 1);
    UnitKill(UnitLastCreated());

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

    auto84E2776E_val = RandomInt(1, 5);
    if (auto84E2776E_val == 1) {
        UnitCreate(3, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        auto9098CFC6_g = UnitLastCreatedGroup();
        auto9098CFC6_u = UnitGroupCount(auto9098CFC6_g, c_unitCountAll);

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

    }
    else if (auto84E2776E_val == 2) {
        UnitCreate(1, "InfestedTerranCampaign", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());

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

        UnitCreate(1, "InfestedTerranCampaign", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
    }

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

    }
    else if (auto84E2776E_val == 3) {
        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "Zergling", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());

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

        UnitCreate(1, "InfestedCivilian", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
        UnitCreate(1, "Zergling", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        gf_ActivateAI(UnitLastCreated());
    }

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

    }
    else if (auto84E2776E_val == 4) {
        UnitCreate(3, "Zergling", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        auto49098124_g = UnitLastCreatedGroup();
        auto49098124_u = UnitGroupCount(auto49098124_g, c_unitCountAll);

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

    }
    else if (auto84E2776E_val == 5) {
        UnitCreate(2, "InfestedTerranCampaign", 0, gv_p2_ZERG, lv_poppedEggPoint, libNtve_gf_RandomAngle());
        auto0040CB7A_g = UnitLastCreatedGroup();
        auto0040CB7A_u = UnitGroupCount(auto0040CB7A_g, c_unitCountAll);

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

        auto7F6C0283_var = 1;
        for ( ; auto7F6C0283_var <= auto7F6C0283_ae; auto7F6C0283_var += 1 ) {
            UnitCreate(1, lp_type, 0, gv_p2_ZERG, lp_loc, libNtve_gf_RandomAngle());
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
            UnitGroupAdd(lv_unitGroup, UnitLastCreated());

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

    for ( ; autoEA18677F_var <= autoEA18677F_ae; autoEA18677F_var += 1 ) {
        if ((WorldHeight(c_heightMapGround, gv__4LavaFireNydusPositions[autoEA18677F_var]) <= (gv__4HeightOfLava + 0.25)) && (gv__4LavaFireNydusHaveSpawned[autoEA18677F_var] == false)) {
            UnitCreate(1, "NydusWormLavaDeath", 0, gv_p2_ZERG, gv__4LavaFireNydusPositions[autoEA18677F_var], libNtve_gf_RandomAngle());
            gv__4LavaFireNydusHaveSpawned[autoEA18677F_var] = true;
        }

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

    libNtve_gf_CreateActorAtPoint(lp_crashingDoodadType, RegionRandomPoint(RegionFromId(30)));
    lv_crashingDoodad = libNtve_gf_ActorLastCreated();
    libNtve_gf_MakeModelFaceAngle(lv_crashingDoodad, libNtve_gf_RandomAngle());
    libNtve_gf_PlayAnimation(lv_crashingDoodad, c_animNameDefault, "Death", c_animFlagNonLooping, c_animTimeDefault);
    Wait(20.0, c_timeGame);

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


    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);

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

    }
    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);

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

    Wait(2.0, c_timeGame);
    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);

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

    }
    for (auto1EE57B14_i = 1; auto1EE57B14_i <= auto1EE57B14_n; auto1EE57B14_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);

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

    Wait(1.0, c_timeGame);
    for (auto5407CE2C_i = 1; auto5407CE2C_i <= auto5407CE2C_n; auto5407CE2C_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);

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

    }
    for (autoFC88027E_i = 1; autoFC88027E_i <= autoFC88027E_n; autoFC88027E_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);

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

    TriggerExecute(gt_ZergEncircleLoopingSounds, true, false);
    for (auto47EA0C8A_i = 1; auto47EA0C8A_i <= auto47EA0C8A_n; auto47EA0C8A_i += 1) {
        lv_real = libNtve_gf_RandomAngle();
        libNtve_gf_UnitCreateFacingPoint(1, "Mutalisk", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);

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

    }
    for (auto24AB4CDA_i = 1; auto24AB4CDA_i <= auto24AB4CDA_n; auto24AB4CDA_i += 1) {
        lv_real = libNtve_gf_RandomAngle();
        libNtve_gf_UnitCreateFacingPoint(1, "Mutalisk", 0, gv_p3_ZERG, PointWithOffsetPolar(UnitGetPosition(gv_tHEONEZERATUL), RandomFixed(15.0, 25.0), lv_real), UnitGetPosition(gv_tHEONEZERATUL));
        UnitSetCustomValue(UnitLastCreated(), 0, lv_real);

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

    Wait(2.0, c_timeGame);
    for (auto4007358F_i = 1; auto4007358F_i <= auto4007358F_n; auto4007358F_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);

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

    }
    for (auto218A6574_i = 1; auto218A6574_i <= auto218A6574_n; auto218A6574_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);

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

            libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lp_nydus), c_animNameDefault, "Spell", 0, c_animTimeDefault);
            SoundPlayOnUnit(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), lp_nydus, 0.0, 100.0, 0.0);
            UnitCreate(lp_qty, lp_unitType, 0, lp_player, UnitGetPosition(lp_nydus), libNtve_gf_RandomAngle());
            AIAttackWaveUseGroup(lp_player, UnitLastCreatedGroup());
            AIAttackWaveSend(lp_player, 0, false);

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

    Wait(5.0, c_timeGame);
    for (autoD6323165_i = 1; autoD6323165_i <= autoD6323165_n; autoD6323165_i += 1) {
        UnitCreate(1, "HydraliskBurrowed", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(15)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowHydraliskUp", 0)), c_orderQueueReplace);
        Wait(0.5, c_timeGame);

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

    Wait(1.0, c_timeGame);
    for (autoFDAAA760_i = 1; autoFDAAA760_i <= autoFDAAA760_n; autoFDAAA760_i += 1) {
        UnitCreate(1, "HydraliskBurrowed", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(14)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowHydraliskUp", 0)), c_orderQueueReplace);
        Wait(0.5, c_timeGame);

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

    Wait(1.0, c_timeGame);
    for (autoE1B7569A_i = 1; autoE1B7569A_i <= autoE1B7569A_n; autoE1B7569A_i += 1) {
        UnitCreate(1, "HydraliskBurrowed", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(13)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowHydraliskUp", 0)), c_orderQueueReplace);
        Wait(0.5, c_timeGame);

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


    for (auto123118F4_i = 1; auto123118F4_i <= auto123118F4_n; auto123118F4_i += 1) {
        UnitCreate(1, "Zergling", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(25)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_midColossusZergActiveGroup, UnitLastCreated());
        UnitBehaviorAdd(UnitLastCreated(), "CreepMove3", UnitLastCreated(), 1);

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

    Wait(0.25, c_timeGame);
    for (autoC7471122_i = 1; autoC7471122_i <= autoC7471122_n; autoC7471122_i += 1) {
        UnitCreate(1, "Hydralisk", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(33)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_midColossusZergActiveGroup, UnitLastCreated());
        UnitBehaviorAdd(UnitLastCreated(), "CreepMove3", UnitLastCreated(), 1);

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

    Wait(0.25, c_timeGame);
    for (autoB9870C02_i = 1; autoB9870C02_i <= autoB9870C02_n; autoB9870C02_i += 1) {
        UnitCreate(1, "Zergling", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(37)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_midColossusZergActiveGroup, UnitLastCreated());
        UnitBehaviorAdd(UnitLastCreated(), "CreepMove3", UnitLastCreated(), 1);

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

    Wait(0.25, c_timeGame);
    for (autoDF0EBEA8_i = 1; autoDF0EBEA8_i <= autoDF0EBEA8_n; autoDF0EBEA8_i += 1) {
        UnitCreate(1, "Hydralisk", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(42)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_midColossusZergActiveGroup, UnitLastCreated());
        UnitBehaviorAdd(UnitLastCreated(), "CreepMove3", UnitLastCreated(), 1);

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

    Wait(0.25, c_timeGame);
    for (auto64BB49EC_i = 1; auto64BB49EC_i <= auto64BB49EC_n; auto64BB49EC_i += 1) {
        UnitCreate(1, "Hydralisk", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(33)), libNtve_gf_RandomAngle());
        UnitGroupAdd(gv_midColossusZergActiveGroup, UnitLastCreated());
        UnitBehaviorAdd(UnitLastCreated(), "CreepMove3", UnitLastCreated(), 1);

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

    }
    for (autoEE2256E7_i = 1; autoEE2256E7_i <= autoEE2256E7_n; autoEE2256E7_i += 1) {
        UnitCreate(1, "Zergling", 0, gv_p05_ZERG_LOW_GROUND_NOAI, RegionRandomPoint(RegionFromId(25)), libNtve_gf_RandomAngle());
        libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_midColossusZergActiveGroup);
        UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(44))), c_orderQueueReplace);

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

    CameraApplyInfo(gv_p01_PLAYER, CameraInfoFromId(1145), 0.0, -1, 10, true);
    for (autoBD29EE66_i = 1; autoBD29EE66_i <= autoBD29EE66_n; autoBD29EE66_i += 1) {
        UnitCreate(1, "Overlord", 0, gv_p04_ZERG_NW, RegionRandomPoint(RegionFromId(93)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }

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

    }
    for (auto795402A3_i = 1; auto795402A3_i <= auto795402A3_n; auto795402A3_i += 1) {
        UnitCreate(1, "Drone", 0, gv_p04_ZERG_NW, RegionRandomPoint(RegionFromId(91)), libNtve_gf_RandomAngle());
    }
    for (auto40A40649_i = 1; auto40A40649_i <= auto40A40649_n; auto40A40649_i += 1) {

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

    }
    for (auto40A40649_i = 1; auto40A40649_i <= auto40A40649_n; auto40A40649_i += 1) {
        UnitCreate(1, "Zergling", 0, gv_p04_ZERG_NW, RegionRandomPoint(RegionFromId(93)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }

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

    }
    for (autoC270682F_i = 1; autoC270682F_i <= autoC270682F_n; autoC270682F_i += 1) {
        UnitCreate(1, "Hydralisk", 0, gv_p04_ZERG_NW, RegionRandomPoint(RegionFromId(93)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }

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

    }
    for (autoB642F2E4_i = 1; autoB642F2E4_i <= autoB642F2E4_n; autoB642F2E4_i += 1) {
        UnitCreate(1, "Roach", 0, gv_p04_ZERG_NW, RegionRandomPoint(RegionFromId(93)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }

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

    }
    for (auto4367F587_i = 1; auto4367F587_i <= auto4367F587_n; auto4367F587_i += 1) {
        UnitCreate(1, "Ultralisk", 0, gv_p04_ZERG_NW, RegionRandomPoint(RegionFromId(93)), libNtve_gf_RandomAngle());
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1572

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(18)));
    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(19)));
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(33), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(34), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(35), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1573

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "SupplyDepot", 0, gv_pLAYER_USER, RegionGetCenter(RegionFromId(19)));
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(33), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(34), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(35), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(36), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1574

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(33), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(34), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(35), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(36), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(37), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1575

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(34), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(35), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(36), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(37), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(38), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1576

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(35), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(36), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(37), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(38), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(39), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1577

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(36), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(37), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(38), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(39), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(40), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1578

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(37), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(38), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(39), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(40), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(42), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1579

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(38), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(39), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(40), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(42), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(43), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1580

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(39), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(40), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(42), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(43), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(44), libNtve_gf_RandomAngle());

campaigns/liberty.sc2campaignbase.sc2maps/maps/challenges/economy.sc2map/MapScript.galaxy:1581

    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(40), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(42), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(43), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(44), libNtve_gf_RandomAngle());
    UnitCreate(1, "SCV", 0, gv_pLAYER_USER, PointFromId(45), libNtve_gf_RandomAngle());

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

        IntLoopBegin(1, lp_mEnemyACount);
        for ( ; !IntLoopDone() ; IntLoopStep() ) {
            UnitCreate(1, lp_mEnemyAType, 0, gv_pLAYER_COMPUTER1, RegionGetCenter(lp_mSpawningRegion), libNtve_gf_RandomAngle());
            libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_USER);
            UnitGroupAdd(gv_attackers, UnitLastCreated());

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

        IntLoopBegin(1, lp_mEnemyBCount);
        for ( ; !IntLoopDone() ; IntLoopStep() ) {
            UnitCreate(1, lp_mEnemyBType, 0, gv_pLAYER_COMPUTER1, RegionGetCenter(lp_mSpawningRegion), libNtve_gf_RandomAngle());
            libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_USER);
            UnitGroupAdd(gv_attackers, UnitLastCreated());

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

        IntLoopBegin(1, lp_mEnemyCCount);
        for ( ; !IntLoopDone() ; IntLoopStep() ) {
            UnitCreate(1, lp_mEnemyCType, 0, gv_pLAYER_COMPUTER1, RegionGetCenter(lp_mSpawningRegion), libNtve_gf_RandomAngle());
            libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_pLAYER_USER);
            UnitGroupAdd(gv_attackers, UnitLastCreated());

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

    // Implementation
    gv_levelTotalPowerups += 1;
    UnitCreate(1, lp_type, 0, gv_p0_NEUTRAL, lp_pos, libNtve_gf_RandomAngle());
    UnitGroupAdd(gv_powerups, UnitLastCreated());
    UnitSetState(UnitLastCreated(), c_unitStateHighlightable, false);

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

        else {
        }
        lv_newLoc = PointWithOffsetPolar(lv_center, RandomFixed(3.0, 4.0), libNtve_gf_RandomAngle());
        UnitIssueOrder(lp_powerup, OrderTargetingPoint(AbilityCommand("move", 0), lv_newLoc), c_orderQueueReplace);
        Wait(RandomFixed(4.0, 7.0), c_timeGame);

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

    Wait(1.0, c_timeGame);
    if ((gv_alternateSpinAttack == false)) {
        lv_randomFacing = libNtve_gf_RandomAngle();
        lv_facingL = lv_randomFacing;
        lv_facingR = lv_randomFacing;

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


    // Implementation
    UnitCreate(lp_number, lp_unitType, 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(lp_spawnRegion), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_lastGroup);
    UnitGroupIssueOrder(lv_lastGroup, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);

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

    lv_i = 1;
    for ( ; ( (auto9980B5B2_ai >= 0 && lv_i <= auto9980B5B2_ae) || (auto9980B5B2_ai < 0 && lv_i >= auto9980B5B2_ae) ) ; lv_i += auto9980B5B2_ai ) {
        UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(44)), libNtve_gf_RandomAngle());
        UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
    }

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

    lv_i = 1;
    for ( ; ( (auto5F96F25C_ai >= 0 && lv_i <= auto5F96F25C_ae) || (auto5F96F25C_ai < 0 && lv_i >= auto5F96F25C_ae) ) ; lv_i += auto5F96F25C_ai ) {
        UnitCreate(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(RegionFromId(45)), libNtve_gf_RandomAngle());
        UnitGroupAdd(lv_tempUnitGroup, UnitLastCreated());
    }

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

    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(3537));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());

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

    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 2, "");
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());

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

    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(4)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(5)), libNtve_gf_RandomAngle());
    UnitCreate(2, "Colonist", 0, gv_pLAYER03_COLONIST, RegionRandomPoint(RegionFromId(6)), libNtve_gf_RandomAngle());