# Issue Order

Grammar — Order u to ord (queue|Replace/After/Before Existing Orders)
FlagsNative | Action

Issues an order to a unit.

# Arguments

Returns — bool

native bool UnitIssueOrder(
	unit inUnit,
	order inOrder,
	int inQueueType,
);

Category: Unit / Orders

# Examples

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

    gv_level1InterceptorCurrentIndex = gv_level1InterceptorCount;
    gv_level1InterceptorLocs[gv_level1InterceptorCurrentIndex] = lv_tempLoc;
    UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("SS_CarrierSpawnInterceptor", 0), lv_tempLoc), c_orderQueueReplace);
    auto69EEA383_n = 4;
    for (auto69EEA383_i = 1; auto69EEA383_i <= auto69EEA383_n; auto69EEA383_i += 1) {

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

    lv_targetLoc = Point(RandomFixed(4.0, 16.0), RandomFixed(-0.5, -5.0));
    lv_targetLoc = gf_ConvertShooterCoordToMapCoord(lv_targetLoc);
    UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
    Wait(0.5, c_timeGame);
    while (!((UnitTestState(gv_boss, c_unitStateIdle) == true))) {

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

        }
        lv_target = PointWithOffset(lp_center, RandomFixed(-3.0, 3.0), RandomFixed(-1.5, 1.5));
        UnitIssueOrder(lp_guardian, OrderTargetingPoint(AbilityCommand("move", 0), lv_target), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 3.0), c_timeGame);
    }

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

    autoBC9EC98B_n = lp_count;
    for (autoBC9EC98B_i = 1; autoBC9EC98B_i <= autoBC9EC98B_n; autoBC9EC98B_i += 1) {
        UnitIssueOrder(gv_boss, Order(AbilityCommand("SS_LeviathanSpawnBombs", 0)), c_orderQueueReplace);
        Wait(6.0, c_timeGame);
    }

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

    lv_xNew = (PointGetX(lv_posCurrent) + ((lp_x - PointGetX(lv_posCurrent)) * 0.5));
    lv_targetLoc = Point(MaxF(gf_ConvertShooterXToMapX(5.0), MinF(gf_ConvertShooterXToMapX(15.0), lv_xNew)), gf_ConvertShooterYToMapY(gv_c_LeviathanY));
    UnitIssueOrder(gv_boss, OrderTargetingPoint(AbilityCommand("move", 0), lv_targetLoc), c_orderQueueReplace);
}

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

    }
    lv_lightningProjector = gv_spawnedLightningProjector;
    UnitIssueOrder(lv_lightningProjector, Order(AbilityCommand("SS_LightningProjectorToggle", 0)), c_orderQueueReplace);
    while (true) {
        Wait(lp_onTime, c_timeGame);

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

        else {
        }
        UnitIssueOrder(lv_lightningProjector, Order(AbilityCommand("SS_LightningProjectorToggle", 1)), c_orderQueueReplace);
        Wait(lp_offTime, c_timeGame);
        if ((UnitIsAlive(lv_lightningProjector) == false)) {

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

        else {
        }
        UnitIssueOrder(lv_lightningProjector, Order(AbilityCommand("SS_LightningProjectorToggle", 0)), c_orderQueueReplace);
    }
    return true;

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

            }
        }
        UnitIssueOrder(lp_scienceVessel, OrderTargetingPoint(AbilityCommand("SS_ScienceVesselTeleport", 0), lv_target), c_orderQueueReplace);
        Wait(RandomFixed(5.0, 10.0), c_timeGame);
    }

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

        }
        lv_target = PointWithOffset(lp_center, RandomFixed(-4.0, 4.0), RandomFixed(-1.5, 1.5));
        UnitIssueOrder(lp_battlecruiser, OrderTargetingPoint(AbilityCommand("move", 0), lv_target), c_orderQueueReplace);
        while (!(((UnitIsAlive(lp_battlecruiser) == false) || (UnitTestState(lp_battlecruiser, c_unitStateIdle) == true)))) {
            Wait(1.0, c_timeGame);

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

            UnitCreate(1, "ColonistTransport", 0, gv_p4_COLONISTS, PointFromId(2906), 180.0);
            AISetUnitForceMover(UnitLastCreated(),true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(3242)), c_orderQueueReplace);
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, gv_convoyMovementSpeed);

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

            AISetUnitForceMover(UnitLastCreated(),true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(3242)), c_orderQueueReplace);
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
            UnitSetPropertyFixed(UnitLastCreated(), c_unitPropMovementSpeed, gv_convoyMovementSpeed);
            gv_vehicleCount += 1;

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

            UnitSetState(UnitCargoLastCreated(), c_unitStateTargetable, true);
            if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
                UnitIssueOrder(lv_randomHut, OrderTargetingPoint(null, PointFromId(856)), c_orderQueueReplace);
                UnitIssueOrder(lv_randomHut, OrderTargetingUnit(null, gv_tHEONETRUCK), c_orderQueueAddToEnd);
            }

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

            if ((UnitIsAlive(gv_tHEONETRUCK) == true)) {
                UnitIssueOrder(lv_randomHut, OrderTargetingPoint(null, PointFromId(856)), c_orderQueueReplace);
                UnitIssueOrder(lv_randomHut, OrderTargetingUnit(null, gv_tHEONETRUCK), c_orderQueueAddToEnd);
            }
            else {

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

            else {
                gv_noTruckColonistRallyIndex += 1;
                UnitIssueOrder(lv_randomHut, OrderTargetingPoint(AbilityCommand("Rally", 0), gv_noTruckColonistRallyPoint[gv_noTruckColonistRallyIndex]), c_orderQueueReplace);
            }
            UnitIssueOrder(lv_randomHut, Order(AbilityCommand("HutTransport", 1)), c_orderQueueReplace);

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

                UnitIssueOrder(lv_randomHut, OrderTargetingPoint(AbilityCommand("Rally", 0), gv_noTruckColonistRallyPoint[gv_noTruckColonistRallyIndex]), c_orderQueueReplace);
            }
            UnitIssueOrder(lv_randomHut, Order(AbilityCommand("HutTransport", 1)), c_orderQueueReplace);
        }
    }

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

    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);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {

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

        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);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("GenerateCreep", 0)), c_orderQueueAddToEnd);
        if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
            UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
        }

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

        UnitSetOwner(lv_u, lp_player, true);
        libNtve_gf_PauseUnit(lv_u, false);
        UnitIssueOrder(lv_u, Order(AbilityCommand("BurrowZerglingUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(lv_u, false);
        AIAttackWaveUseUnit(lp_player, lv_u);

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

        auto1B9E687D_var = UnitGroupUnitFromEnd(auto1B9E687D_g, auto1B9E687D_u);
        if (auto1B9E687D_var == null) { break; }
        UnitIssueOrder(auto1B9E687D_var, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(481)), c_orderQueueAddToEnd);
    }
}

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

    lv_i = 1;
    for ( ; ( (auto31AF6971_ai >= 0 && lv_i <= auto31AF6971_ae) || (auto31AF6971_ai < 0 && lv_i >= auto31AF6971_ae) ) ; lv_i += auto31AF6971_ai ) {
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);

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

    for ( ; ( (auto31AF6971_ai >= 0 && lv_i <= auto31AF6971_ae) || (auto31AF6971_ai < 0 && lv_i >= auto31AF6971_ae) ) ; lv_i += auto31AF6971_ai ) {
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        UnitIssueOrder(UnitGroupUnit(lv_attackersLeft, (lv_i + 7)), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(228)), c_orderQueueReplace);
        Wait(RandomFixed(0.5, 1.0), c_timeGame);
        UnitIssueOrder(UnitGroupUnit(lv_attackersRight, lv_i), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(317)), c_orderQueueReplace);

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

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

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

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

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


        lv_tempUnit = UnitGroupRandomUnit(lv_attackersLeft, c_unitCountAlive);
        UnitIssueOrder(lv_tempUnit, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
        UnitGroupRemove(lv_attackersLeft, lv_tempUnit);
    }

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


        lv_tempUnit = UnitGroupRandomUnit(lv_attackersRight, c_unitCountAlive);
        UnitIssueOrder(lv_tempUnit, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(230)), c_orderQueueReplace);
        UnitGroupRemove(lv_attackersRight, lv_tempUnit);
    }

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

            lv_point = UnitGetPosition(UnitGroupRandomUnit(UnitGroup(null, gv_pLAYER_01_USER, RegionCircle(UnitGetPosition(auto7ECFBFDB_var), 14.0), UnitFilter((1 << c_targetFilterGround), 0, (1 << c_targetFilterStructure) | (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive));
            if ((UnitGetCustomValue(auto7ECFBFDB_var, 0) < libNtve_gf_DifficultyValueFixed(5.0, 5.0, 10.0, 1000.0))) {
                UnitIssueOrder(auto7ECFBFDB_var, OrderTargetingPoint(AbilityCommand("InfestedTerrans", 0), lv_point), c_orderQueueReplace);
            }

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

        UnitSetHeight(lv_factory, 3.25, 2.0);
        Wait(2.0, c_timeGame);
        UnitIssueOrder(lv_factory, OrderTargetingPoint(AbilityCommand("FactoryLand", 0), RegionGetCenter(lv_pickedRegion)), c_orderQueueReplace);
    }
    libCamp_gf_CreateNewStructureTips();

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

    MinimapPing(PlayerGroupAll(), UnitGetPosition(EventUnit()), 2.0, Color(100.00, 100.00, 0.00));
    libNtve_gf_RescueUnit(EventUnit(), gv_pLAYER_01_USER, true);
    UnitIssueOrder(EventUnit(), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), RegionGetCenter(EventUnitRegion())), c_orderQueueReplace);
    return true;
}

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

        auto107C7AF6_n = lp_count;
        for (auto107C7AF6_i = 1; auto107C7AF6_i <= auto107C7AF6_n; auto107C7AF6_i += 1) {
            UnitIssueOrder(gv_superWarpGateP04, OrderTargetingPoint(lp_trainCmd, PointWithOffsetPolar(UnitGetPosition(gv_purifier), lp_radius, lv_currentDegree)), c_orderQueueAddToEnd);
            lv_currentDegree = (lv_currentDegree + lv_unitInterval);
            Wait(0.5, c_timeGame);

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

    for (auto6E2B3EC3_i = 1; auto6E2B3EC3_i <= auto6E2B3EC3_n; auto6E2B3EC3_i += 1) {
        if ((gv_currentWaveSources != null) && (UnitGroupCount(gv_currentWaveSources, c_unitCountAlive) > 0)) {
            UnitIssueOrder(gv_superWarpGateP02, OrderTargetingPoint(lp_trainCmd, UnitGetPosition(UnitGroupRandomUnit(gv_currentWaveSources, c_unitCountAlive))), c_orderQueueReplace);
        }

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

    TriggerExecute(gt_TransmissionPurifierArrivedQ, true, false);
    TriggerExecute(gt_NewEnemyPurifierTipQ, true, false);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 1)), c_orderQueueReplace);
    libNtve_gf_ShareVisionofUnit(gv_purifier, true, gv_pLAYER01_USER);
    VisRevealArea(gv_pLAYER01_USER, RegionCircle(UnitGetPosition(gv_purifier), 6.0), 10.0, false);

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

    Wait(4.0, c_timeGame);
    TriggerExecute(gt_ShowPathtoAlphaBase, true, false);
    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1065)), c_orderQueueReplace);
    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(13))), c_orderQueueAddToEnd);
    return true;

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

    TriggerExecute(gt_ShowPathtoAlphaBase, true, false);
    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1065)), c_orderQueueReplace);
    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(13))), c_orderQueueAddToEnd);
    return true;
}

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

    }

    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(13))), c_orderQueueReplace);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 0)), c_orderQueueAddToEnd);

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


    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(13))), c_orderQueueReplace);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 0)), c_orderQueueAddToEnd);
    Wait(5.0, c_timeGame);

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

    UnitIssueOrder(gv_purifier, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(RegionFromId(13))), c_orderQueueReplace);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierTogglePower", 0)), c_orderQueueAddToEnd);
    Wait(5.0, c_timeGame);
    if ((UnitIsAlive(gv_purifier) == false)) {

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

    }

    UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierPlanetCracker", 0)), c_orderQueueReplace);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    libNtve_gf_SendActorMessageToGameRegion(RegionFromId(29), "Signal TreeFire");

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


    UnitIssueOrder(gv_purifier, Order(AbilityCommand("PurifierPlanetCracker", 0)), c_orderQueueReplace);
    UnitIssueOrder(gv_purifier, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    libNtve_gf_SendActorMessageToGameRegion(RegionFromId(29), "Signal TreeFire");
    MinimapPing(PlayerGroupAll(), UnitGetPosition(gv_purifier), 5.0, Color(100.00, 0.00, 0.00));

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

        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedCivilianBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedCivilianUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);

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

        libNtve_gf_CreateUnitsWithDefaultFacing(1, "InfestedTerranCampaignBurrowed", 0, gv_p03_VIROPHAGE, RegionRandomPoint(gv_infestationRegion[lp_colony]));
        libNtve_gf_ShareVisionofUnit(UnitLastCreated(), true, gv_p01_USER);
        UnitIssueOrder(UnitLastCreated(), Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
        AISetUnitScriptControlled(UnitLastCreated(), false);
        AISetUnitSuicide(UnitLastCreated(), true);

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

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

    autoA7EBEB0F_val = UnitGetType(lp_unit);
    if (autoA7EBEB0F_val == "Overlord") {
        UnitIssueOrder(lp_unit, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
        if ((gv_infestationOverlordCount[lp_colonyIndex] < gv_iNFESTATION_OVERLORD_MAX)) {
            gv_infestationOverlordCount[lp_colonyIndex] += 1;

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

    }
    else if (autoA7EBEB0F_val == "Overseer") {
        UnitIssueOrder(lp_unit, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
        if ((gv_infestationOverlordCount[lp_colonyIndex] < gv_iNFESTATION_OVERLORD_MAX)) {
            gv_infestationOverseerCount[lp_colonyIndex] += 1;

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

        UnitGroupAdd(gv_infestationOverlords[lp_colonyIndex], lv_overlord);
        UnitSetOwner(lv_overlord, gv_p07_ZERG_INFESTED, true);
        UnitIssueOrder(lv_overlord, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverlordLocation[lp_colonyIndex][lv_overlordIndex]), c_orderQueueReplace);
        UnitIssueOrder(lv_overlord, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    }

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

        UnitSetOwner(lv_overlord, gv_p07_ZERG_INFESTED, true);
        UnitIssueOrder(lv_overlord, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverlordLocation[lp_colonyIndex][lv_overlordIndex]), c_orderQueueReplace);
        UnitIssueOrder(lv_overlord, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    }
}

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

        UnitGroupAdd(gv_infestationOverseers[lp_colonyIndex], lv_overseer);
        UnitSetOwner(lv_overseer, gv_p07_ZERG_INFESTED, true);
        UnitIssueOrder(lv_overseer, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverseerLocation[lp_colonyIndex][lv_overseerIndex]), c_orderQueueReplace);
        UnitIssueOrder(lv_overseer, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    }

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

        UnitSetOwner(lv_overseer, gv_p07_ZERG_INFESTED, true);
        UnitIssueOrder(lv_overseer, OrderTargetingPoint(AbilityCommand("move", 0), gv_infestationOverseerLocation[lp_colonyIndex][lv_overseerIndex]), c_orderQueueReplace);
        UnitIssueOrder(lv_overseer, Order(AbilityCommand("move", 2)), c_orderQueueAddToEnd);
    }
}

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

    libNtve_gf_UnitCreateFacingPoint(1, lv_defenderType, 0, gv_p07_ZERG_INFESTED, UnitGetPosition(lp_overlord), gv_infestationDefenderLocation[lp_colonyIndex][lp_defenderIndex]);
    gv_infestationDefenderUnit[lp_colonyIndex][lp_defenderIndex] = UnitLastCreated();
    UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), gv_infestationDefenderLocation[lp_colonyIndex][lp_defenderIndex]), c_orderQueueReplace);
    SoundPlayOnUnit(SoundLink("Overlord_Unload", -1), PlayerGroupAll(), lp_overlord, 0.0, 100.0, 0.0);
}

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

        gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort = UnitLastCreated();
        AISetUnitScriptControlled(UnitLastCreated(), true);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, (PointGetFacing(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition) + gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle))), c_orderQueueReplace);
    }
    while (true) {

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

        lv_i = 1;
        for ( ; ( (auto788B0C12_ai >= 0 && lv_i <= auto788B0C12_ae) || (auto788B0C12_ai < 0 && lv_i >= auto788B0C12_ae) ) ; lv_i += auto788B0C12_ai ) {
            UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarRadius, (PointGetFacing(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_waitPosition) + gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle))), c_orderQueueReplace);
        }
        if ((UnitIsAlive(gv_trainList[lv_trainIndex].lv_trainCars[1]) == false)) {

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

        }

        UnitIssueOrder(auto499A4BF2_var, OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(UnitGetPosition(auto499A4BF2_var), 1.0, AngleBetweenPoints(UnitGetPosition(auto499A4BF2_var), gv_trainPath[FixedToInt(UnitGetCustomValue(auto499A4BF2_var, 0))]))), c_orderQueueReplace);
    }
    return true;

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

            UnitGroupAdd(lv_escortGroup, gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort);
            if ((ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) >= 20.0) && (ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) <= 160.0)) {
                UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 90.0))), c_orderQueueReplace);
            }
            else {

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

            else {
                if ((ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) >= 200.0) && (ModF(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_polarAngle, 360.0) <= 340.0)) {
                    UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 270.0))), c_orderQueueReplace);
                }
                else {

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

                }
                else {
                    UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), PointWithOffsetPolar(UnitGetPosition(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]), 4.0, (UnitGetFacing(gv_trainList[lv_trainIndex].lv_trainCars[gv_trainList[lv_trainIndex].lv_lastCar]) + 180.0))), c_orderQueueReplace);
                }
            }

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

                }
                else {
                    UnitIssueOrder(gv_trainList[lv_trainIndex].lv_escorts[lv_i].lv_escort, OrderTargetingPoint(AbilityCommand("attack", 0), lv_exitPoint), c_orderQueueReplace);
                }
            }

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

            UnitGroupAdd(gv_patrolTop, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);
            Wait(1.0, c_timeAI);
        }

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

            UnitGroupAdd(gv_patrolTop, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1788)), c_orderQueueReplace);
            Wait(1.0, c_timeAI);
        }

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

            UnitGroupAdd(gv_patrolBottom, UnitLastCreated());
            AISetUnitScriptControlled(UnitLastCreated(), true);
            UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(1778)), c_orderQueueReplace);
            Wait(1.0, c_timeAI);
        }

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

    if ((UnitIsAlive(UnitFromId(1226)) == true)) {
        UnitMagazineArm(gv_ghostNukeSilo, AbilityCommand("ArmSiloWithNuke", 0), 1);
        UnitIssueOrder(lp_nuker, Order(AbilityCommand("GhostCloak", 0)), c_orderQueueReplace);
        Wait(5.0, c_timeGame);
        VisRevealArea(gv_p04_DOMINION, RegionCircle(lp_nukeTarget, 5.0), 20.0, false);

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

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

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

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

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

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

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

    }

    UnitIssueOrder(UnitFromId(271), OrderTargetingPoint(AbilityCommand("CommandCenterLand", 0), PointFromId(46)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(271), Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitFromId(274), OrderTargetingPoint(AbilityCommand("BarracksLand", 0), PointFromId(276)), c_orderQueueReplace);

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


    UnitIssueOrder(UnitFromId(271), OrderTargetingPoint(AbilityCommand("CommandCenterLand", 0), PointFromId(46)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(271), Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitFromId(274), OrderTargetingPoint(AbilityCommand("BarracksLand", 0), PointFromId(276)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(270), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), PointFromId(275)), c_orderQueueReplace);

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

    UnitIssueOrder(UnitFromId(271), OrderTargetingPoint(AbilityCommand("CommandCenterLand", 0), PointFromId(46)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(271), Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitFromId(274), OrderTargetingPoint(AbilityCommand("BarracksLand", 0), PointFromId(276)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(270), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), PointFromId(275)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(1056), OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), RegionGetCenter(RegionFromId(4))), c_orderQueueReplace);

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

    UnitIssueOrder(UnitFromId(271), Order(AbilityCommand("CommandCenterTransport", 1)), c_orderQueueAddToEnd);
    UnitIssueOrder(UnitFromId(274), OrderTargetingPoint(AbilityCommand("BarracksLand", 0), PointFromId(276)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(270), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), PointFromId(275)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(1056), OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), RegionGetCenter(RegionFromId(4))), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(1056), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(100)), c_orderQueueAddToEnd);

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

    UnitIssueOrder(UnitFromId(274), OrderTargetingPoint(AbilityCommand("BarracksLand", 0), PointFromId(276)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(270), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), PointFromId(275)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(1056), OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), RegionGetCenter(RegionFromId(4))), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(1056), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(100)), c_orderQueueAddToEnd);
    libNtve_gf_ShareVisionofUnit(UnitFromId(1056), false, gv_p01_USER);

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

    UnitIssueOrder(UnitFromId(270), OrderTargetingPoint(AbilityCommand("FactoryLand", 0), PointFromId(275)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(1056), OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), RegionGetCenter(RegionFromId(4))), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(1056), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(100)), c_orderQueueAddToEnd);
    libNtve_gf_ShareVisionofUnit(UnitFromId(1056), false, gv_p01_USER);
    Wait(17.0, c_timeGame);

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

    UnitSetScale(UnitFromId(4), 115.0, 115.0, 115.0);
    gv_odin = UnitFromId(2);
    UnitIssueOrder(gv_odin, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    libNtve_gf_MakeUnitInvulnerable(gv_odin, true);
    libNtve_gf_PauseUnit(gv_odin, true);

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

        autoA69D9812_var = UnitGroupUnitFromEnd(autoA69D9812_g, autoA69D9812_u);
        if (autoA69D9812_var == null) { break; }
        UnitIssueOrder(autoA69D9812_var, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }
    UnitIssueOrder(UnitFromId(713), Order(AbilityCommand("move", 2)), c_orderQueueReplace);

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

        UnitIssueOrder(autoA69D9812_var, Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    }
    UnitIssueOrder(UnitFromId(713), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    UnitSetPropertyFixed(UnitFromId(2218), c_unitPropEnergyPercent, 100.0);
    UnitSetPropertyFixed(UnitFromId(2219), c_unitPropEnergyPercent, 100.0);

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

    libNtve_gf_PauseUnit(UnitFromId(738), true);
    libNtve_gf_PauseUnit(UnitFromId(739), true);
    UnitIssueOrder(UnitFromId(2242), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(2243), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
    AISetUnitScriptControlled(UnitFromId(2243), false);

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

    libNtve_gf_PauseUnit(UnitFromId(739), true);
    UnitIssueOrder(UnitFromId(2242), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(2243), OrderSetAutoCast(AbilityCommand("Repair", 0), true), c_orderQueueReplace);
    AISetUnitScriptControlled(UnitFromId(2243), false);
    AISetUnitScriptControlled(UnitFromId(2242), false);

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

    Wait(1.0, c_timeGame);
    if ((gv_initialOrderGiven == false)) {
        UnitIssueOrder(UnitFromId(4), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(155)), c_orderQueueReplace);
        SoundPlayOnUnit(SoundLink("THorner03BriefingTychus00019", -1), PlayerGroupAll(), UnitFromId(4), 0.0, 100.0, 0.0);
    }

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

        auto550403AC_var = UnitGroupUnitFromEnd(auto550403AC_g, auto550403AC_u);
        if (auto550403AC_var == null) { break; }
        UnitIssueOrder(auto550403AC_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    }
    Wait(2.0, c_timeGame);

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

    }
    Wait(2.0, c_timeGame);
    UnitIssueOrder(UnitFromId(138), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(5), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    Wait(3.0, c_timeGame);

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

    Wait(2.0, c_timeGame);
    UnitIssueOrder(UnitFromId(138), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(5), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    Wait(3.0, c_timeGame);
    UnitIssueOrder(UnitFromId(291), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);

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

    UnitIssueOrder(UnitFromId(5), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    Wait(3.0, c_timeGame);
    UnitIssueOrder(UnitFromId(291), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    UnitIssueOrder(UnitFromId(674), OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(294)), c_orderQueueReplace);
    return true;

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

    lv_i = 2;
    for ( ; ( (auto5E4EFB6A_ai >= 0 && lv_i <= auto5E4EFB6A_ae) || (auto5E4EFB6A_ai < 0 && lv_i >= auto5E4EFB6A_ae) ) ; lv_i += auto5E4EFB6A_ai ) {
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointWithOffsetPolar(gv_briefingParadePoints[lv_i], lp_polarDistance, (PointGetFacing(gv_briefingParadePoints[lv_i]) + lp_polarRadius))), c_orderQueueAddToEnd);
    }
}

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

        gf_SetMaxLife(auto6464AF62_var, 200.0);
    }
    UnitIssueOrder(UnitFromId(963), Order(AbilityCommand("move", 2)), c_orderQueueReplace);
    UnitSetTeamColorIndex(UnitFromId(1081), 1);
    auto604BE6FC_g = UnitGroup("LogisticsHeadquarters", gv_p08_DOMINION, RegionPlayableMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

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

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

        libNtve_gf_CreateUnitsWithDefaultFacing(1, "CruiserBike", 0, gv_p06_CIVILIANS, PointFromId(245));
        UnitSetCustomValue(UnitLastCreated(), 1, 99.0);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);

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

        UnitSetCustomValue(UnitLastCreated(), 1, 99.0);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1408)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1408)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1458)), c_orderQueueAddToEnd);

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1408)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1458)), c_orderQueueAddToEnd);
    }

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

        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(866)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1408)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(1458)), c_orderQueueAddToEnd);
    }
    else if (auto257BD5B4_val == 2) {

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

        libNtve_gf_CreateUnitsWithDefaultFacing(1, "TerranBuggy", 0, gv_p06_CIVILIANS, PointFromId(245));
        UnitSetCustomValue(UnitLastCreated(), 1, 99.0);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(308)), c_orderQueueReplace);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(469)), c_orderQueueAddToEnd);
        UnitIssueOrder(UnitLastCreated(), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(574)), c_orderQueueAddToEnd);

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


    TriggerEnable(TriggerGetCurrent(), false);
    UnitIssueOrder(UnitFromId(698), OrderTargetingPoint(AbilityCommand("move", 0), PointFromId(739)), c_orderQueueReplace);
    autoCB026C0A_g = UnitGroupFilterRegion(UnitGroup(null, gv_p02_DOMINION, RegionFromId(3), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), RegionFromId(3), 0);
    autoCB026C0A_u = UnitGroupCount(autoCB026C0A_g, c_unitCountAll);

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

        autoCB026C0A_var = UnitGroupUnitFromEnd(autoCB026C0A_g, autoCB026C0A_u);
        if (autoCB026C0A_var == null) { break; }
        UnitIssueOrder(autoCB026C0A_var, OrderTargetingPoint(AbilityCommand("attack", 0), PointFromId(324)), c_orderQueueReplace);
    }
    return true;

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

    TriggerEnable(TriggerGetCurrent(), false);
    Wait(1.0, c_timeGame);
    UnitIssueOrder(UnitFromId(202), Order(AbilityCommand("DestructibleGateDiagonalBLUR", 0)), c_orderQueueReplace);
    UnitSetState(UnitFromId(202), c_unitStateSelectable, true);
    UnitSetState(UnitFromId(202), c_unitStateTargetable, true);

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

    TriggerExecute(gt_DialogueLab01ExperimentalWeapon2, true, false);
    Wait(1.0, c_timeGame);
    UnitIssueOrder(UnitFromId(421), Order(AbilityCommand("DestructibleGateDiagonalBLUR", 0)), c_orderQueueReplace);
    UnitSetState(UnitFromId(421), c_unitStateSelectable, true);
    UnitSetState(UnitFromId(421), c_unitStateTargetable, true);

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

            lv_whereToRun = PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(3.0, 9.0), (lv_angle + RandomFixed(-20.0, 20.0)));
            UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
            UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
            gv_scientistRunning = lv_scientist;
            TriggerExecute(gt_ScientistsRunning, true, false);

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

                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_intruderGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
                gv_scientistRunning = lv_scientist;
                TriggerExecute(gt_ScientistsRunning, true, false);

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

                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_brutaliskGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
                gv_scientistRunning = lv_scientist;
                TriggerExecute(gt_ScientistsRunning, true, false);

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

                lv_whereToRun = libNtve_gf_RandomPointBetweenPoints(UnitGetPosition(lv_scientist), PointWithOffsetPolar(UnitGetPosition(lv_scientist), RandomFixed(8.0, 12.0), (AngleBetweenPoints(UnitGetPosition(lv_scientist), UnitGetPosition(UnitGroupUnit(lv_hybridGroup, 1))) + 180.0)));
                UnitBehaviorAdd(lv_scientist, "Run", lv_scientist, 1);
                UnitIssueOrder(lv_scientist, OrderTargetingPoint(AbilityCommand("move", 0), lv_whereToRun), c_orderQueueReplace);
                gv_scientistRunning = lv_scientist;
                TriggerExecute(gt_ScientistsRunning, true, false);

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

    UnitSetState(UnitFromId(202), c_unitStateHighlightable, false);
    UnitSetState(UnitFromId(202), c_unitStateSelectable, false);
    UnitIssueOrder(UnitFromId(202), Order(AbilityCommand("DestructibleGateDiagonalBLURLowered", 0)), c_orderQueueReplace);
    UnitKill(UnitFromId(1038));
    Wait(2.0, c_timeGame);

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

    gv_computer01Revealer02 = VisRevealerLastCreated();
    Wait(0.2, c_timeGame);
    UnitIssueOrder(gv_turret01, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
    UnitIssueOrder(gv_turret02, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);
    UnitIssueOrder(gv_turret03, Order(AbilityCommand("stop", 0)), c_orderQueueReplace);