# Create Units With Point Facing

Grammar — Create count|Number type|Unit for player player at p using point facing (flags)
FlagsAction

Creates units using the facing angle of a point. Use the “Last Created Unit” and “Last Created Units” functions to refer to the created units.

# Arguments

  • int — Count
  • string<gamelink::Unit> — Type
  • int<preset::Unit_Create_Style2> — Flags
  • int — Player
  • point — Point

Returns — void

void libNtve_gf_CreateUnitsAtPoint2(
	int lp_count,
	string lp_type,
	int lp_flags,
	int lp_player,
	point lp_p,
);

Category: Unit / Basic

# Examples

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

    // Implementation
    gf_FighterEnableDisableControl(false);
    libNtve_gf_CreateUnitsAtPoint2(1, "SS_Fighter", 0, gv_p1_USER, RegionGetCenter(RegionEntireMap()));
    gv_viking = UnitLastCreated();
    libNtve_gf_MakeUnitInvulnerable(gv_viking, true);

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

    SoundPlayAtPoint(SoundLink("LostViking_CarrierBirth", -1), PlayerGroupAll(), lv_spawnLoc, 8.0, 100.0, 0.0);
    Wait(6.667, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "SS_CarrierBoss", 0, gv_p2_ENEMY, lv_spawnLoc);
    gv_boss = UnitLastCreated();
    if ((gv_repeatTimes > 0)) {

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

    lv_bounds = gf_GetCameraBoundary();
    lv_spawnLoc = gf_ConvertShooterCoordToMapCoord(Point(10.0, gv_c_LeviathanY));
    libNtve_gf_CreateUnitsAtPoint2(1, "SS_Leviathan", 0, gv_p0_NEUTRAL, lv_spawnLoc);
    gv_boss = UnitLastCreated();
    ActorScopeSend(ActorScopeFromUnit(gv_boss), "AnimPlay Birth Birth 0 0.000000");

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

    lv_bounds = gf_GetCameraBoundary();
    lv_spawnLoc = gf_ConvertShooterCoordToMapCoord(Point(10.0, gv_c_TerraTronY));
    libNtve_gf_CreateUnitsAtPoint2(1, "SS_TerraTron", 0, gv_p0_NEUTRAL, lv_spawnLoc);
    gv_boss = UnitLastCreated();
    if ((gv_repeatTimes > 0)) {

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

    lv_birth = libNtve_gf_ActorLastCreated();
    Wait(1.2, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "SS_Boss", 0, gv_p2_ENEMY, lv_spawnLoc);
    gv_mothership = UnitLastCreated();
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, 600.0);

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

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

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


    // Implementation
    libNtve_gf_CreateUnitsAtPoint2(lp_qty, lp_type, 0, lp_player, lp_loc);
    gf_AttackwithUnburrowingUnits(lp_player, UnitLastCreatedGroup());
}

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

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

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "CivilianFemale", 0, 0, PointFromId(86));
    gv_crazyRidley = UnitLastCreated();
    UnitSetTeamColorIndex(UnitLastCreated(), 10);

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

            }
            for (autoEC24FC15_i = 1; autoEC24FC15_i <= autoEC24FC15_n; autoEC24FC15_i += 1) {
                libNtve_gf_CreateUnitsAtPoint2(1, "ZerglingBurrowed", 0, gv_p5_ZERG_TACTICALPHASE, PointFromId(2425));
                UnitGroupAdd(lv_zerglingGroup, UnitLastCreated());
                UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);

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

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

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

    }

    libNtve_gf_CreateUnitsAtPoint2(1, "NydusCanal", 0, gv_p2_ZERG_ORANGE_NW, lv_point);
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifeMax, gv_nydusWormHP);
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropLifePercent, 100.0);

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

            if ((UnitIsAlive(lv_nydusWorm) == true) && (UnitGroupHasUnit(gv_activeNydusWorms, lv_nydusWorm) == true)) {
                libNtve_gf_PlayAnimation(libNtve_gf_MainActorofUnit(lv_nydusWorm), c_animNameDefault, "Spell", 0, c_animTimeDefault);
                libNtve_gf_CreateUnitsAtPoint2(lv_packSize, lv_type, 0, gv_p2_ZERG_ORANGE_NW, UnitGetPosition(lv_nydusWorm));
                auto56518657_g = UnitLastCreatedGroup();
                auto56518657_u = UnitGroupCount(auto56518657_g, c_unitCountAll);

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


    TriggerExecute(gt_DoomsdayZergAttackWavesAnnounceQ, true, false);
    libNtve_gf_CreateUnitsAtPoint2(gv_doomsdayZergSpawnCount, "Mutalisk", 0, gv_p3_ZERG_LIGHTBLUE_SE, PointFromId(59));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_doomsdayZergUnitGroup);
    libNtve_gf_CreateUnitsAtPoint2(gv_doomsdayZergSpawnCount, "Mutalisk", 0, gv_p3_ZERG_LIGHTBLUE_SE, PointFromId(223));

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

    libNtve_gf_CreateUnitsAtPoint2(gv_doomsdayZergSpawnCount, "Mutalisk", 0, gv_p3_ZERG_LIGHTBLUE_SE, PointFromId(59));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_doomsdayZergUnitGroup);
    libNtve_gf_CreateUnitsAtPoint2(gv_doomsdayZergSpawnCount, "Mutalisk", 0, gv_p3_ZERG_LIGHTBLUE_SE, PointFromId(223));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_doomsdayZergUnitGroup);
    gv_doomsdayZergSpawnCount = (gv_doomsdayZergSpawnCount + 2);

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

        TriggerExecute(gt_NightDefenderPing, true, false);
        SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
        libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 5, 6), "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
        SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);

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

        SoundPlayAtPoint(SoundLink("NydusWorm_Unload", -1), PlayerGroupAll(), UnitGetPosition(lp_attackedStructure), 0.0, 100.0, 0.0);
        if ((gv_infestedBuildingsKilled < 50)) {
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(2, 2, 3, 4), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        }

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


        if ((gv_infestedBuildingsKilled >= 50) && (gv_infestedBuildingsKilled < 100)) {
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(2, 3, 4, 5), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        }

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


        if ((gv_infestedBuildingsKilled >= 100)) {
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 2, 3), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
            AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "InfestedAbomination", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));

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

            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(3, 4, 2, 3), "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
            AISetGroupScriptControlled(UnitLastCreatedGroup(), false);
            libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(0, 0, 1, 1), "InfestedAbomination", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lp_attackedStructure));
        }

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

    }

    libNtve_gf_CreateUnitsAtPoint2(14, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionGetCenter(RegionFromId(3)));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersLeft);
    UnitGroupIssueOrder(lv_attackersLeft, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);

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

    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersLeft);
    UnitGroupIssueOrder(lv_attackersLeft, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(14, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersRight);
    UnitGroupIssueOrder(lv_attackersRight, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);

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

            if ((gv_timeOfDay == ge_PRESET_TimeOfDay_Night) && (UnitGroupCount(lv_spawners, c_unitCountAlive) > 0)) {
                lv_pickedSpawner = UnitGroupRandomUnit(lv_spawners, c_unitCountAlive);
                libNtve_gf_CreateUnitsAtPoint2(1, "InfestedTerranCampaign", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lv_pickedSpawner));
                AISetUnitSuicide(UnitLastCreated(), true);
                UnitGroupRemove(lv_spawners, lv_pickedSpawner);

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

            if (lv_pickedSpawner == null) { break; }
            if ((gv_timeOfDay == ge_PRESET_TimeOfDay_Night) && (UnitGroupCount(lv_spawners, c_unitCountAlive) > 0)) {
                libNtve_gf_CreateUnitsAtPoint2(1, "InfestedCivilian", 0, gv_pLAYER_04_INFESTEDREFUGEES, UnitGetPosition(lv_pickedSpawner));
                AISetUnitSuicide(UnitLastCreated(), true);
            }

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

    }
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupVehiclesHellion, gv_pLAYER_01_USER);
    libNtve_gf_CreateUnitsAtPoint2(libNtve_gf_DifficultyValueInt(4, 4, 3, 3), "Hellion", 0, gv_pLAYER_08_SWANN, PointFromId(1385));
    UnitGroupAddUnitGroup(lv_introHellionGroup, UnitLastCreatedGroup());
    libCamp_gf_CreateDropPod(libCamp_ge_DropPodRace_Terran, PointFromId(930), UnitLastCreatedGroup(), true);

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

    autoE0C65E9D_val = RandomInt(1, 2);
    if (autoE0C65E9D_val == 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);

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

    }
    else if (autoE0C65E9D_val == 2) {
        libNtve_gf_CreateUnitsAtPoint2(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1991)), c_orderQueueReplace);

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

    auto811AB252_val = RandomInt(1, 2);
    if (auto811AB252_val == 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1990)), c_orderQueueReplace);

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

    }
    else if (auto811AB252_val == 2) {
        libNtve_gf_CreateUnitsAtPoint2(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1990)), c_orderQueueReplace);

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

    autoCD6601C2_val = RandomInt(1, 2);
    if (autoCD6601C2_val == 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Colonist", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1993)), c_orderQueueReplace);

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

    }
    else if (autoCD6601C2_val == 2) {
        libNtve_gf_CreateUnitsAtPoint2(1, "ColonistFemale", 0, gv_pLAYER03_COLONIST, lv_pickedPoint);
        UnitBehaviorAdd(UnitLastCreated(), "ColonistCarry", UnitLastCreated(), 1);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1993)), c_orderQueueReplace);

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

    TriggerExecute(gt_Brieifng00Air, true, false);
    Wait(2.0, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "Purifier", 0, gv_pLAYER04_PURIFIER, PointFromId(2363));
    gv_purifier = UnitLastCreated();
    UnitSetPropertyFixed(gv_purifier, c_unitPropMovementSpeed, 1.0);

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

    libNtve_gf_MakeUnitInvulnerable(gv_purifier, false);
    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(194)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Biodome", 0, gv_pLAYER03_COLONIST, PointFromId(2367));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Biodome", 3, "");
    gv_briefingBiodome = UnitLastCreated();

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

    gv_briefingBiodome = UnitLastCreated();
    UnitSetPropertyFixed(gv_briefingBiodome, c_unitPropLifePercent, 10.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2368));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2369));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2368));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 5, "");
    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2369));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Hut", 7, "");
    libNtve_gf_CreateUnitsAtPoint2(1, "Hut", 0, gv_pLAYER05_COLONISTSTRUCTURES, PointFromId(2370));

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

        UnitBehaviorAdd(auto645C7A66_var, "ColonyInfestation", auto645C7A66_var, 1);
    }
    libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p08_ZERG_SOUTH, PointFromId(1073));
    gv_briefingZergling = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "Feederling", 0, gv_p08_ZERG_SOUTH, PointFromId(1073));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "Zergling", 0, gv_p08_ZERG_SOUTH, PointFromId(1073));
    gv_briefingZergling = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "Feederling", 0, gv_p08_ZERG_SOUTH, PointFromId(1073));
    UnitSetState(UnitLastCreated(), c_unitStateSelectable, false);
    lv_feederling = UnitLastCreated();

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

    }
    libLbty_gf_OrderWorkerstoGatherNearbyResources(RegionEntireMap(), gv_p01_USER);
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p01_USER, PointFromId(468));
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(78)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p01_USER, PointFromId(469));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p01_USER, PointFromId(468));
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(78)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p01_USER, PointFromId(469));
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(460)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p01_USER, PointFromId(471));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p01_USER, PointFromId(469));
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(460)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p01_USER, PointFromId(471));
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(392)), c_orderQueueReplace);
    for (auto10729A37_i = 1; auto10729A37_i <= auto10729A37_n; auto10729A37_i += 1) {

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

    lv_currentPoint = gv_trainPath[lp_pathIndex];
    lv_currentTarget = (lp_pathIndex + 1);
    libNtve_gf_CreateUnitsAtPoint2(1, "TarsonisEngine", 0, gv_pLAYER_06_TRAIN, lv_currentPoint);
    UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_currentTarget));
    auto46B67D1A_ae = lp_numberOfCars;

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

        }
        if ((lv_i == lp_numberOfCars)) {
            libNtve_gf_CreateUnitsAtPoint2(1, "Caboose", 0, gv_pLAYER_06_TRAIN, lv_currentPoint);
        }
        else {

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

        }
        else {
            libNtve_gf_CreateUnitsAtPoint2(1, "FreightCar", 0, gv_pLAYER_06_TRAIN, lv_currentPoint);
        }
        UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_currentTarget));

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

                    }
                }
                libNtve_gf_CreateUnitsAtPoint2(1, lv_trainCarType, 0, gv_pLAYER_06_TRAIN, lv_spawnLocation);
                gv_trainList[lv_trainsToSpawn[lv_i]].lv_trainCars[lv_currentCar] = UnitLastCreated();
                UnitSetCustomValue(UnitLastCreated(), 0, IntToFixed(lv_initialCustomValue));

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

            }
        }
        libNtve_gf_CreateUnitsAtPoint2(1, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_unitType, 0, lv_escortPlayer, lv_escortSpawnPoint);
        UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
        gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort = UnitLastCreated();

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Medivac", 0, gv_p03_MIRA_HAN, PointFromId(1242));
    lv_medivac = UnitLastCreated();
    UnitCargoCreate(lv_medivac, "Vulture", 4);

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(784));
    lv_raven = UnitLastCreated();
    AISetUnitScriptControlled(lv_raven, true);

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(784));
    lv_raven = UnitLastCreated();
    AISetUnitScriptControlled(lv_raven, true);

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(785));
    lv_raven = UnitLastCreated();
    AISetUnitScriptControlled(lv_raven, true);

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Raven", 0, gv_p02_ORLAN_ENEMY, PointFromId(805));
    lv_raven = UnitLastCreated();
    AISetUnitScriptControlled(lv_raven, true);

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

    }

    libNtve_gf_CreateUnitsAtPoint2(5, "Marine", 0, gv_p02_ORLAN_ENEMY, PointFromId(629));
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(630)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(631)), c_orderQueueAddToEnd);

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

    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(633)), c_orderQueueAddToEnd);
    Wait(2.0, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(3, "Goliath", 0, gv_p02_ORLAN_ENEMY, PointFromId(629));
    autoA9A837E3_g = UnitLastCreatedGroup();
    autoA9A837E3_u = UnitGroupCount(autoA9A837E3_g, c_unitCountAll);

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

    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(633)), c_orderQueueAddToEnd);
    Wait(2.0, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(5, "Marine", 0, gv_p02_ORLAN_ENEMY, PointFromId(629));
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(630)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(631)), c_orderQueueAddToEnd);

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

    TriggerEnable(gt_BriefingSalvage, true);
    TriggerEnable(gt_TransmissionRespawnableSalvageQ, false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Vulture", 0, gv_p01_USER, PointFromId(1522));
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), UnitGetPosition(UnitFromId(951))), c_orderQueueReplace);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), UnitGetPosition(UnitFromId(125))), c_orderQueueAddToEnd);

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

    UnitKill(UnitFromId(183));
    for (auto8F0800B9_i = 1; auto8F0800B9_i <= auto8F0800B9_n; auto8F0800B9_i += 1) {
        libNtve_gf_CreateUnitsAtPoint2(1, "Vulture", 0, gv_p01_USER, RegionRandomPoint(RegionFromId(26)));
        UnitGroupAdd(gv_victoryRaynorsUnits, UnitLastCreated());
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(51)), c_orderQueueReplace);

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


    libNtve_gf_ShareVisionofUnit(UnitFromId(2), true, gv_p07_DOMINION_STARPORT_B);
    libNtve_gf_CreateUnitsAtPoint2(1, "Battlecruiser", 0, gv_p07_DOMINION_STARPORT_B, PointFromId(712));
    gv_battlecruiser1 = UnitLastCreated();
    UnitIssueOrder(gv_battlecruiser1, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(2)), c_orderQueueReplace);

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

    gv_battlecruiser1 = UnitLastCreated();
    UnitIssueOrder(gv_battlecruiser1, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(2)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Battlecruiser", 0, gv_p07_DOMINION_STARPORT_B, PointFromId(302));
    gv_battlecruiser2 = UnitLastCreated();
    UnitIssueOrder(gv_battlecruiser2, OrderTargetingUnit(AbilityCommand("attack", 0), UnitFromId(2)), c_orderQueueReplace);

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

    libNtve_gf_CreateUnitsWithDefaultFacing(1, "BreachingCharge", 0, gv_p01_USER, PointFromId(927));
    libNtve_gf_PauseUnit(UnitLastCreated(), true);
    libNtve_gf_CreateUnitsAtPoint2(1, "TychusChaingun", 0, gv_p01_USER, PointFromId(967));
    gv_briefingTychus = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(1348));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "TychusChaingun", 0, gv_p01_USER, PointFromId(967));
    gv_briefingTychus = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(1348));
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(1353));
    TriggerExecute(gt_BriefingScene00Tychus, true, false);

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

    gv_briefingTychus = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(1348));
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p01_USER, PointFromId(1353));
    TriggerExecute(gt_BriefingScene00Tychus, true, false);
    CameraApplyInfo(gv_p01_USER, CameraInfoFromId(764), 0.0, -1, 10, true);

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

    }

    libNtve_gf_CreateUnitsAtPoint2(5, "Marine", 0, gv_p04_DOMINION_INFANTRY_A, PointFromId(983));
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1824)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2100)), c_orderQueueAddToEnd);

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

    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2101)), c_orderQueueAddToEnd);
    Wait(2.0, c_timeReal);
    libNtve_gf_CreateUnitsAtPoint2(5, "Marine", 0, gv_p04_DOMINION_INFANTRY_A, PointFromId(983));
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1824)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2100)), c_orderQueueAddToEnd);

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

    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2101)), c_orderQueueAddToEnd);
    Wait(2.0, c_timeReal);
    libNtve_gf_CreateUnitsAtPoint2(5, "Marine", 0, gv_p04_DOMINION_INFANTRY_A, PointFromId(983));
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1824)), c_orderQueueReplace);
    UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(2100)), c_orderQueueAddToEnd);

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

    CameraShakeStart(gv_p01_USER, c_cameraPositionTarget, c_cameraDirectionZ, 0.5, 2.0, 100.0, 1.0);
    SoundPlay(SoundLink("Barracks_Explode", 1), PlayerGroupAll(), 100.0, 0.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(74));
    UnitKill(UnitLastCreated());
    Wait(0.15, c_timeGame);

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

    UnitKill(UnitLastCreated());
    Wait(0.15, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(968));
    UnitKill(UnitLastCreated());
    libNtve_gf_CreateUnitsAtPoint2(1, "ExplodingBarrelLarge", 0, 0, PointFromId(975));

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


    // Implementation
    libNtve_gf_CreateUnitsAtPoint2(1, lp_unitType, 0, lp_player, PointWithOffsetPolar(gv_briefingParadePoints[1], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[1]) + lp_polarRadius)));
    UnitGroupAdd(gv_briefingParadeGroup, UnitLastCreated());
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.5);

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

    TriggerEnable(TriggerGetCurrent(), false);
    TriggerEnable(gt_SecretDocumentsRetrievedUnlockHorner05S, true);
    libNtve_gf_CreateUnitsAtPoint2(1, "SecretDocuments", 0, gv_p06_CIVILIANS, PointFromId(73));
    gv_secretDocuments = UnitLastCreated();
    UnitSetInfoText(UnitLastCreated(), StringExternal("Param/Value/AA6A68E5"), StringExternal("Param/Value/E6030984"), StringToText(""));

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

    SoundtrackPlay(PlayerGroupAll(), c_soundtrackCategoryMusic, "THorner04MusicSwann", c_soundtrackCueAny, c_soundtrackIndexAny, false);
    libNtve_gf_SetAlliance(gv_p01_USER, gv_p07_HORNERBASE, libNtve_ge_AllianceSetting_Neutral);
    libNtve_gf_CreateUnitsAtPoint2(1, "SpecialOpsDropship", c_unitCreateIgnorePlacement, gv_p07_HORNERBASE, PointFromId(1412));
    lv_dropship = UnitLastCreated();
    UnitSetState(lv_dropship, c_unitStateSelectable, true);

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

    UnitSetState(lv_dropship, c_unitStateSelectable, true);
    libNtve_gf_MakeUnitInvulnerable(lv_dropship, true);
    libNtve_gf_CreateUnitsAtPoint2(1, "Thor", c_unitCreateIgnorePlacement, gv_p07_HORNERBASE, PointFromId(1412));
    lv_thor = UnitLastCreated();
    UnitIssueOrder(lv_dropship, OrderTargetingUnit(AbilityCommand("MedivacTransport", 0), lv_thor), c_orderQueueReplace);

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

    UnitRemove(UnitFromId(290));
    UnitRemove(UnitFromId(291));
    libNtve_gf_CreateUnitsAtPoint2(1, "Odin", 0, gv_p01_USER, PointFromId(1420));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1421)), c_orderQueueReplace);

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

    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1421)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p02_DOMINION_INFANTRY, PointFromId(1422));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1428)), c_orderQueueReplace);

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

    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1428)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p02_DOMINION_INFANTRY, PointFromId(1423));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1429)), c_orderQueueReplace);

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

    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1429)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p02_DOMINION_INFANTRY, PointFromId(1424));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1430)), c_orderQueueReplace);

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

    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1430)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p02_DOMINION_INFANTRY, PointFromId(1425));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1431)), c_orderQueueReplace);

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

    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1431)), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_p02_DOMINION_INFANTRY, PointFromId(1426));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, 1.88);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1432)), c_orderQueueReplace);

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

    }
    UnitSetPropertyFixed(UnitFromId(2898), c_unitPropLifeMax, 250.0);
    libNtve_gf_CreateUnitsAtPoint2(1, "Warbot", 0, gv_p07_NEUTRAL, PointFromId(165));
    gv_warbot = UnitLastCreated();
    UnitSetState(gv_warbot, c_unitStateFidget, false);

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(959));
    gv_grenades01 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    UnitSetState(gv_grenades01, c_unitStateTooltipable, true);
    UnitSetInfoText(gv_grenades01, StringExternal("Param/Value/69893BF3"), StringExternal("Param/Value/FC3BF07C"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(981));
    gv_grenades02 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    UnitSetState(gv_grenades02, c_unitStateTooltipable, true);
    UnitSetInfoText(gv_grenades02, StringExternal("Param/Value/9303EA1D"), StringExternal("Param/Value/055EC923"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(875));
    gv_grenades03 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    UnitSetState(gv_grenades03, c_unitStateTooltipable, true);
    UnitSetInfoText(gv_grenades03, StringExternal("Param/Value/29B20723"), StringExternal("Param/Value/FC067EC6"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(618));
    gv_grenades04 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    UnitSetState(gv_grenades04, c_unitStateTooltipable, true);
    UnitSetInfoText(gv_grenades04, StringExternal("Param/Value/C6DE4E0F"), StringExternal("Param/Value/61B19EDA"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupGrenades", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(239));
    gv_grenades05 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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


    TriggerEnable(TriggerGetCurrent(), false);
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(16));
    UnitSetPropertyFixed(UnitLastCreated(), c_unitPropHeight, 1.0);
    gv_plasmaGun01 = UnitLastCreated();

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

    UnitSetState(gv_plasmaGun01, c_unitStateTooltipable, true);
    UnitSetInfoText(gv_plasmaGun01, StringExternal("Param/Value/12F822AB"), StringExternal("Param/Value/F7EEB73B"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(1213));
    gv_plasmaGun02 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    UnitSetState(gv_plasmaGun02, c_unitStateTooltipable, true);
    UnitSetInfoText(gv_plasmaGun02, StringExternal("Param/Value/4600DB3D"), StringExternal("Param/Value/EAB4BA13"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(670));
    gv_plasmaGun03 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    UnitSetState(gv_plasmaGun03, c_unitStateTooltipable, true);
    UnitSetInfoText(gv_plasmaGun03, StringExternal("Param/Value/5CCF6C8F"), StringExternal("Param/Value/824EB5D4"), StringToText(""));
    libNtve_gf_CreateUnitsAtPoint2(1, "PickupPlasmaGun", c_unitCreateIgnorePlacement, gv_p07_NEUTRAL, PointFromId(9));
    gv_plasmaGun04 = UnitLastCreated();
    gv_achievementPickUpsRemaining += 1;

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

    Wait(1.0, c_timeGame);
    CameraLockInput(gv_p1_USER, false);
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(134));
    gv_viking01 = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(111));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(134));
    gv_viking01 = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(111));
    gv_viking02 = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(960));

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

    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(111));
    gv_viking02 = UnitLastCreated();
    libNtve_gf_CreateUnitsAtPoint2(1, "VikingFighter", 0, gv_p2_DOMINION_RED, PointFromId(960));
    gv_viking03 = UnitLastCreated();
    UnitIssueOrder(gv_viking01, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(171)), c_orderQueueAddToEnd);

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

    }
    UnitGroupIssueOrder(gv_escapeCivilians, OrderTargetingPoint(AbilityCommand("move", 0), RegionRandomPoint(RegionFromId(94))), c_orderQueueReplace);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,01");
    gv_civMarchSpeaker01 = UnitLastCreated();

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

    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(918)), c_orderQueueReplace);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,backpack,01");
    gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());

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

    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
    Wait(0.2, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,backpack,02");
    gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());

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

    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1152)), c_orderQueueReplace);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(888));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 3, "male,helmet,02");
    gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());

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

    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
    Wait(0.2, c_timeGame);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 3, "male,helmet,03");
    gv_civMarchSpeaker02 = UnitLastCreated();

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

    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(926)), c_orderQueueReplace);
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 4), UnitGetPosition(libNtve_gf_ClosestUnitToPoint(UnitGetPosition(UnitLastCreated()), UnitGroup(null, gv_p1_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0)))), c_orderQueueAddToEnd);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 1, "male,helmet,01");
    UnitGroupAdd(gv_escapeCivilians, UnitLastCreated());

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

    Wait(0.2, c_timeGame);
    TriggerExecute(gt_CivilianMarchQ, true, false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Civilian", 0, gv_p3_RIKSVILLE_YELLOW, PointFromId(890));
    libNtve_gf_UnitSetVariation(UnitLastCreated(), "Civilian", 2, "male,helmet,02");
    gf_SetCivviePropertiesforSpawnedunit(UnitLastCreated());

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

    }

    libNtve_gf_CreateUnitsAtPoint2(1, "SpecialOpsDropship", 0, gv_pLAYER_01_USER, PointFromId(472));
    gv_supplyDropship = UnitLastCreated();
    UnitSetState(gv_supplyDropship, c_unitStateSelectable, false);

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

    }

    libNtve_gf_CreateUnitsAtPoint2(1, "SpecialOpsDropship", 0, gv_pLAYER_01_USER, PointFromId(472));
    gv_sCVDropship = UnitLastCreated();
    UnitSetState(gv_sCVDropship, c_unitStateSelectable, false);

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

            auto55B38AC9_n = gv_dominionAttackSquadSize;
            for (auto55B38AC9_i = 1; auto55B38AC9_i <= auto55B38AC9_n; auto55B38AC9_i += 1) {
                libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_05_PATROL, PointFromId(487));
                UnitGroupAdd(lv_dominionAttackSquad, UnitLastCreated());
                UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(493)), c_orderQueueReplace);

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

    autoB7737390_n = gv_mineGuardPairs;
    for (autoB7737390_i = 1; autoB7737390_i <= autoB7737390_n; autoB7737390_i += 1) {
        libNtve_gf_CreateUnitsAtPoint2(2, "Marine", 0, gv_pLAYER_05_PATROL, RegionGetCenter(RegionFromId(9)));
        libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), gv_mineGuardGroup);
        UnitGroupIssueOrder(UnitLastCreatedGroup(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(620)), c_orderQueueReplace);

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


    PlayerScoreValueEnable(gv_pLAYER_01_USER, "UnitsTrainedCount", false);
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_01_USER, PointFromId(1308));
    UnitGroupAdd(lv_craneMarines, UnitLastCreated());
    libNtve_gf_CreateUnitsAtPoint2(1, "Marine", 0, gv_pLAYER_01_USER, PointFromId(1309));