# Ability Command

Grammar — (ability, command)
FlagsNative | Function

Constructs an ability command from an ability and an index. An ability command is the combination of an ability and an index for a command within that ability. Command indexes are 0 based.

# Arguments

  • string<gamelink::Abil> — Ability
  • int — Command

Returns — abilcmd

native abilcmd AbilityCommand(
	string inAbil,
	int inCmdIndex,
);

Category: Order / Ability Commands

# 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: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/thanson01.sc2map/MapScript.galaxy:661

        autoE1052B09_var = UnitGroupUnitFromEnd(autoE1052B09_g, autoE1052B09_u);
        if (autoE1052B09_var == null) { break; }
        UnitIssueOrder(autoE1052B09_var, OrderSetAutoCast(AbilityCommand("BurrowZerglingUp", 0), true), c_orderQueueReplace);
    }
    autoB1ABC5AB_g = UnitGroup(null, gv_p6_ZERG_NOAIPREPLACED, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);

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

        UnitSetFacing(autoFE6A3FBA_var, 180.0, 0.0);
    }
    UnitIssueOrder(UnitFromId(290), OrderTargetingPoint(AbilityCommand("SpecOpsDropshipTransport", 2), PointFromId(2157)), c_orderQueueReplace);
    libNtve_gf_MakeUnitUncommandable(UnitFromId(290), true);
    UnitSetState(UnitFromId(290), c_unitStateTargetable, false);

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

    UnitCreate(lp_number, lp_unitType, 0, gv_pLAYER_04_INFESTEDREFUGEES, RegionRandomPoint(lp_spawnRegion), libNtve_gf_RandomAngle());
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_lastGroup);
    UnitGroupIssueOrder(lv_lastGroup, Order(AbilityCommand("BurrowInfestedTerranCampaignUp", 0)), c_orderQueueReplace);
    auto1B9E687D_g = UnitGroup("InfestedCivilian", gv_pLAYER_04_INFESTEDREFUGEES, RegionFromId(10), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    auto1B9E687D_u = UnitGroupCount(auto1B9E687D_g, c_unitCountAll);

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

    TechTreeUpgradeAddLevel(gv_pLAYER_04_INFESTEDREFUGEES, "Burrow", 1);
    TechTreeUpgradeAddLevel(gv_pLAYER_06_INFESTORS, "Burrow", 1);
    TechTreeAbilityAllow(gv_pLAYER_06_INFESTORS, AbilityCommand("NeuralParasite", 0), false);
    return true;
}

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

    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);
    libNtve_gf_CreateUnitsAtPoint2(14, "InfestedCivilian", 0, gv_pLAYER_03_INFESTED_REFUGEES, RegionGetCenter(RegionFromId(4)));
    libNtve_gf_AddUnitGroupToUnitGroup(UnitLastCreatedGroup(), lv_attackersRight);

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

    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);
    Wait(3.0, c_timeGame);
    lv_i = 1;

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/thanson03a.sc2map/MapScript.galaxy:305

        lv_fleetSize = UnitGroupCount(lp_fLEET, c_unitCountAlive);
        if ((UnitGroupCount(lp_fLEET, c_unitCountAlive) > 0) && (UnitGroupCount(UnitGroupFilterRegion(lp_fLEET, lp_tARGET, 0), c_unitCountAlive) != lv_fleetSize)) {
            UnitGroupIssueOrder(lp_fLEET, OrderTargetingPoint(AbilityCommand("move", 0), RegionGetCenter(lp_tARGET)), c_orderQueueAddToEnd);
            Wait(30.0, c_timeGame);
        }

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

    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupStarshipsViking, gv_pLAYER01_USER);
    TechTreeAbilityAllow(gv_pLAYER06_TERRORFLEET, AbilityCommand("GravitonBeam", 0), true);
    return true;
}

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

        autoE1EF7D94_var = UnitGroupUnitFromEnd(autoE1EF7D94_g, autoE1EF7D94_u);
        if (autoE1EF7D94_var == null) { break; }
        UnitMagazineArm(autoE1EF7D94_var, AbilityCommand("CarrierHangar", 0), libNtve_gf_DifficultyValueInt(0, 0, 2, 4));
    }
    gf_UpgradeAllProtoss(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "Charge");

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/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:3267

void gt_ResourcePalletPickups_Init () {
    gt_ResourcePalletPickups = TriggerCreate("gt_ResourcePalletPickups_Func");
    TriggerAddEventUnitAbility(gt_ResourcePalletPickups, null, AbilityCommand("Pickup", 0), c_unitAbilStageExecute, false);
}

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/thorner02.sc2map/MapScript.galaxy:357

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

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/thorner03.sc2map/MapScript.galaxy:328

    UnitAbilityEnable(UnitFromId(2), "OdinBarrage", false);
    TechTreeUpgradeAddLevel(gv_p01_USER, "WraithCloak", 1);
    TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("WraithCloak", 0), true);
    TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("WraithCloak", 1), true);
    return true;

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

    TechTreeUpgradeAddLevel(gv_p01_USER, "WraithCloak", 1);
    TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("WraithCloak", 0), true);
    TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("WraithCloak", 1), true);
    return true;
}

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/thorner04.sc2map/MapScript.galaxy:445

        Wait(0.2, c_timeGame);
    }
    UnitGroupIssueOrder(lv_attackers, OrderTargetingPoint(AbilityCommand("attack", 0), lp_targetPoint), c_orderQueueReplace);
}

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

    libCamp_gf_SetTechRestrictionsCallback(TriggerGetCurrent());
    libCamp_gf_EnableCampaignTechUnit(true, libCamp_ge_StoryTechGroup_StoryTechGroupDominionThor, gv_p01_USER);
    TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("OdinNuclearStrike", 0), false);
    autoCA6DCF8D_g = UnitGroup("AutoTurret", c_playerAny, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0);
    autoCA6DCF8D_u = UnitGroupCount(autoCA6DCF8D_g, c_unitCountAll);

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

        auto8ADC11E5_var = PlayerGroupNextPlayer(auto8ADC11E5_g, auto8ADC11E5_var);
        if (auto8ADC11E5_var < 0) { break; }
        TechTreeAbilityAllow(auto8ADC11E5_var, AbilityCommand("BansheeCloak", 0), false);
    }
    return true;

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/thorner05s.sc2map/MapScript.galaxy:1421


    if ((gv_grenadesAlreadyHave == false)) {
        TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("TossGrenade", 0), true);
        TriggerExecute(gt_ButtonFlashGrenadesOn, true, false);
        UnitAbilityEnable(gv_raynor, "TossGrenade", true);

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

void gt_Grenades01_Init () {
    gt_Grenades01 = TriggerCreate("gt_Grenades01_Func");
    TriggerAddEventUnitAbility(gt_Grenades01, null, AbilityCommand("Pickup", 0), c_unitAbilStageExecute, false);
}

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


    if ((gv_plasmaAlreadyHave == false)) {
        TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("ExperimentalPlasmaGun", 0), true);
        TriggerExecute(gt_ButtonFlashPlasmaGunOn, true, false);
        UnitAbilityEnable(gv_raynor, "ExperimentalPlasmaGun", true);

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

void gt_PlasmaGun01_Init () {
    gt_PlasmaGun01 = TriggerCreate("gt_PlasmaGun01_Func");
    TriggerAddEventUnitAbility(gt_PlasmaGun01, null, AbilityCommand("Pickup", 0), c_unitAbilStageExecute, false);
}

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


    if ((gv_chronosAlreadyHave == false)) {
        TechTreeAbilityAllow(gv_p01_USER, AbilityCommand("TheMorosDevice", 0), true);
        TriggerExecute(gt_ButtonFlashChronosOn, true, false);
        UnitAbilityEnable(gv_raynor, "TheMorosDevice", true);

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

void gt_ChronoChargePickup01_Init () {
    gt_ChronoChargePickup01 = TriggerCreate("gt_ChronoChargePickup01_Func");
    TriggerAddEventUnitAbility(gt_ChronoChargePickup01, null, AbilityCommand("Pickup", 0), c_unitAbilStageExecute, false);
}

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

void gt_HealthandEnergyPickup_Init () {
    gt_HealthandEnergyPickup = TriggerCreate("gt_HealthandEnergyPickup_Func");
    TriggerAddEventUnitAbility(gt_HealthandEnergyPickup, null, AbilityCommand("Pickup", 0), c_unitAbilStageExecute, false);
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TossGrenade", 0), true);
    gv_flashButtonGrenade = true;
    return true;

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("TossGrenade", 0), false);
    return true;
}

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


    TriggerEnable(TriggerGetCurrent(), false);
    UISetButtonHighlighted(PlayerGroupActive(), AbilityCommand("ExperimentalPlasmaGun", 0), true);
    gv_flashButtonPlasma = true;
    return true;