# Set Target Player For Attack Waves

Grammar — Set the target for player player attack waves to playerMask
FlagsNative | Action

Sets a player group to be the target of a player’s attack waves.

# Arguments

  • int — Attacker
  • playergroup — Players

Returns — void

native void AIAttackWaveSetTargetPlayer(
	int player,
	playergroup players,
);

Category: AI / AttackWaves / Actions

# Examples

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

    AISetDifficulty(gv_pLAYER_03_INFESTED_REFUGEES, c_diffPressForward, true);
    AISetDifficulty(gv_pLAYER_04_INFESTEDREFUGEES, c_diffPressForward, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_03_INFESTED_REFUGEES, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_04_INFESTEDREFUGEES, PlayerGroupSingle(gv_pLAYER_01_USER));
    return true;

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

    AISetDifficulty(gv_pLAYER_04_INFESTEDREFUGEES, c_diffPressForward, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_03_INFESTED_REFUGEES, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_04_INFESTEDREFUGEES, PlayerGroupSingle(gv_pLAYER_01_USER));
    return true;
}

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

    AICampaignStart(gv_pLAYER04_PURIFIER);
    AICampaignStart(gv_pLAYER06_TERRORFLEET);
    AIAttackWaveSetTargetPlayer(gv_pLAYER02_PROTOSS, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER06_TERRORFLEET, PlayerGroupSingle(gv_pLAYER01_USER));
    TriggerExecute(gt_ProtossP02AttackWaves, true, false);

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

    AICampaignStart(gv_pLAYER06_TERRORFLEET);
    AIAttackWaveSetTargetPlayer(gv_pLAYER02_PROTOSS, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER06_TERRORFLEET, PlayerGroupSingle(gv_pLAYER01_USER));
    TriggerExecute(gt_ProtossP02AttackWaves, true, false);
    return true;

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

    AICampaignStart(gv_p07_ZERG_INFESTED);
    AICampaignStart(gv_p08_ZERG_SOUTH);
    AIAttackWaveSetTargetPlayer(gv_p07_ZERG_INFESTED, PlayerGroupSingle(gv_p01_USER));
    TriggerExecute(gt_ZergAttackWavesP02P04P08, true, false);
    TriggerExecute(gt_StartUpgradesH, true, false);

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

    }

    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p08_ZERG_SOUTH, PlayerGroupSingle(gv_p01_USER));

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


    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p08_ZERG_SOUTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetGatherPoint(gv_p02_ZERG_EAST, PointFromId(294));

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

    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p08_ZERG_SOUTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetGatherPoint(gv_p02_ZERG_EAST, PointFromId(294));
    AIAttackWaveSetGatherPoint(gv_p04_ZERG_NORTH, PointFromId(204));

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

    Wait((gv_trainWaveWait - libNtve_gf_DifficultyValueFixed(40.0, 40.0, 40.0, 40.0)), c_timeAI);
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION, PointFromId(1463), false);
    AIAttackWaveAddUnits4(3, 3, 0, 0, "Marine");

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

    gf_ResearchForAllDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "TerranShipWeaponsLevel2");
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION, PointFromId(1451), false);
    AIAttackWaveAddUnits4(2, 3, 3, 4, "Firebat");

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

    gf_ResearchForAllDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "TerranVehicleArmorsLevel2");
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION, PointFromId(1463), false);
    AIAttackWaveAddUnits4(2, 2, 3, 3, "Goliath");

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

    gf_ResearchForAllDominion(libNtve_gf_DifficultyValueInt(0, 0, 0, 1), "TerranInfantryWeaponsLevel3");
    AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION, PointFromId(1463), false);
    AIAttackWaveAddUnits4(4, 4, 0, 0, "Marine");

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

    while (true) {
        AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION));
        AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
        AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION, PointFromId(1451), false);
        AIAttackWaveAddUnits4(2, 2, 2, 3, "Goliath");

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

        AIAttackWaveSend(gv_pLAYER_02_DOMINION, (FixedToInt(gv_trainWaveWait) * 2), true);
        AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION));
        AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
        AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION, PointFromId(1463), false);
        AIAttackWaveAddUnits4(3, 3, 3, 4, "Firebat");

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

        AIAttackWaveSend(gv_pLAYER_02_DOMINION, (FixedToInt(gv_trainWaveWait) * 2), true);
        AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION));
        AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
        AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION, PointFromId(1463), false);
        AIAttackWaveAddUnits4(2, 2, 3, 4, "Firebat");

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

    while (true) {
        if ((gv_trainsDestroyed >= 6) && (gv_trainsDestroyed < 7)) {
            AIAttackWaveSetTargetPlayer(gv_pLAYER_03_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
            AIAttackWaveSetGatherPoint(gv_pLAYER_03_DOMINION, PlayerStartLocation(gv_pLAYER_03_DOMINION));
            AIAttackWaveAddWaypoint(gv_pLAYER_03_DOMINION, PointFromId(1459), false);

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


        if ((gv_trainsDestroyed >= 7)) {
            AIAttackWaveSetTargetPlayer(gv_pLAYER_03_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
            AIAttackWaveSetGatherPoint(gv_pLAYER_03_DOMINION, PlayerStartLocation(gv_pLAYER_03_DOMINION));
            AIAttackWaveAddWaypoint(gv_pLAYER_03_DOMINION, PointFromId(1459), false);

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

    while (true) {
        if ((gv_trainsDestroyed >= 6) && (gv_trainsDestroyed < 7)) {
            AIAttackWaveSetTargetPlayer(gv_pLAYER_04_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
            AIAttackWaveSetGatherPoint(gv_pLAYER_04_DOMINION, PlayerStartLocation(gv_pLAYER_04_DOMINION));
            AIAttackWaveAddWaypoint(gv_pLAYER_04_DOMINION, PointFromId(1456), false);

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


    AIAttackWaveSetGatherPoint(gv_p02_ORLAN_ENEMY, PointFromId(269));
    AIAttackWaveSetTargetPlayer(gv_p02_ORLAN_ENEMY, PlayerGroupSingle(gv_p01_USER));
    Wait(60.0, c_timeAI);
    AIAttackWaveAddUnits4(3, 3, 5, 8, "Marine");

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

    AISetUnitScriptControlled(UnitFromId(2), false);
    AIAttackWaveSetGatherPoint(gv_p02_TYCHUS, UnitGetPosition(UnitFromId(2)));
    AIAttackWaveSetTargetPlayer(gv_p02_TYCHUS, PlayerGroupSingle(gv_odinAIPlayerTarget));
    AIAttackWaveUseUnit(gv_p02_TYCHUS, UnitFromId(2));
    AIAttackWaveSend(gv_p02_TYCHUS, 1, false);

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

    AISetUnitScriptControlled(UnitFromId(2), false);
    AIAttackWaveSetGatherPoint(gv_p02_TYCHUS, UnitGetPosition(UnitFromId(2)));
    AIAttackWaveSetTargetPlayer(gv_p02_TYCHUS, PlayerGroupSingle(gv_odinAIPlayerTarget));
    AIAttackWaveUseUnit(gv_p02_TYCHUS, UnitFromId(2));
    AIAttackWaveAddWaypoint(gv_p02_TYCHUS, PointFromId(651), false);

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


    CampaignInitAI();
    AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_INFANTRY_A, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p08_DOMINION_INFANTRY_B, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_FACTORY, PlayerGroupSingle(gv_p02_TYCHUS));

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

    CampaignInitAI();
    AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_INFANTRY_A, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p08_DOMINION_INFANTRY_B, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_FACTORY, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p06_DOMINION_STARPORT_A, PlayerGroupSingle(gv_p02_TYCHUS));

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

    AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_INFANTRY_A, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p08_DOMINION_INFANTRY_B, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_FACTORY, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p06_DOMINION_STARPORT_A, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p07_DOMINION_STARPORT_B, PlayerGroupSingle(gv_p02_TYCHUS));

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

    AIAttackWaveSetTargetPlayer(gv_p08_DOMINION_INFANTRY_B, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_FACTORY, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p06_DOMINION_STARPORT_A, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p07_DOMINION_STARPORT_B, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetGatherPoint(gv_p04_DOMINION_INFANTRY_A, PointFromId(134));

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

    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_FACTORY, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p06_DOMINION_STARPORT_A, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetTargetPlayer(gv_p07_DOMINION_STARPORT_B, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveSetGatherPoint(gv_p04_DOMINION_INFANTRY_A, PointFromId(134));
    AIAttackWaveSetGatherPoint(gv_p08_DOMINION_INFANTRY_B, PointFromId(135));

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

    }

    AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_INFANTRY_A, PlayerGroupSingle(gv_p02_TYCHUS));
    AIAttackWaveAddUnits4(10, 10, 15, 20, "Marine");
    AIAttackWaveSend(gv_p04_DOMINION_INFANTRY_A, 70, true);

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

    AIAttackWaveSend(gv_p04_DOMINION_INFANTRY_A, 70, true);
    while (true) {
        AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_INFANTRY_A, PlayerGroupSingle(gv_p02_TYCHUS));
        AIAttackWaveAddUnits4(6, 6, 9, 12, "Marine");
        AIAttackWaveSend(gv_p04_DOMINION_INFANTRY_A, 30, true);

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

    TriggerExecute(gt_RepairOdinTipQ, true, false);
    Wait(10.0, c_timeGame);
    AIAttackWaveSetTargetPlayer(gv_p08_DOMINION_INFANTRY_B, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveAddWaypoint(gv_p08_DOMINION_INFANTRY_B, PointFromId(68), false);
    AIAttackWaveAddUnits4(2, 2, 4, 3, "Marine");

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

    AICampaignStart(gv_p05_DOMINION_RAIDER);
    AICampaignStart(gv_p08_DOMINION);
    AIAttackWaveSetTargetPlayer(gv_p03_DOMINION_SIEGE, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_AIR, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_RAIDER, PlayerGroupSingle(gv_p01_USER));

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

    AICampaignStart(gv_p08_DOMINION);
    AIAttackWaveSetTargetPlayer(gv_p03_DOMINION_SIEGE, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_AIR, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_RAIDER, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetGatherPoint(gv_p03_DOMINION_SIEGE, PointFromId(1070));

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

    AIAttackWaveSetTargetPlayer(gv_p03_DOMINION_SIEGE, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_DOMINION_AIR, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p05_DOMINION_RAIDER, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetGatherPoint(gv_p03_DOMINION_SIEGE, PointFromId(1070));
    AIAttackWaveSetGatherPoint(gv_p04_DOMINION_AIR, PointFromId(1071));

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

    libNtve_gf_AddUnitGroupToUnitGroup(UnitGroup(null, gv_p01_USER, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), gv_playerUnitGroup);
    Wait(0.2, c_timeGame);
    AIAttackWaveSetTargetPlayer(gv_p11_BRUTALISK, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveUseUnit(gv_p11_BRUTALISK, gv_brutalisk);
    AIAttackWaveSetGatherPoint(gv_p11_BRUTALISK, PointFromId(481));

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

    }
    else {
        AIAttackWaveSetTargetPlayer(gv_pLAYER_02_DOMINION, PlayerGroupSingle(gv_pLAYER_01_USER));
    }
}

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

    }

    AIAttackWaveSetTargetPlayer(gv_pLAYER02_ZERG, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER02_ZERG, PointFromId(264));
    Wait(libNtve_gf_DifficultyValueFixed(260.0, 180.0, 180.0, 180.0), c_timeAI);

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

    }

    AIAttackWaveSetTargetPlayer(gv_pLAYER03_ZERG, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER03_ZERG, PointFromId(261));
    TriggerExecute(gt_TransmissionTychusIncomingAirUnitsQ, true, false);

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

    }

    AIAttackWaveSetTargetPlayer(gv_pLAYER04_ZERG, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER04_ZERG, PointFromId(257));
    Wait(libNtve_gf_DifficultyValueFixed(400.0, 320.0, 320.0, 320.0), c_timeAI);

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

    }

    AIAttackWaveSetTargetPlayer(gv_p02_ZERG, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetGatherPoint(gv_p02_ZERG, PointFromId(106));
    Wait(170.0, c_timeAI);

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

    }

    AIAttackWaveSetTargetPlayer(gv_p04_ZERG, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetGatherPoint(gv_p04_ZERG, PointFromId(8));
    Wait(libNtve_gf_DifficultyValueFixed(670.0, 670.0, 610.0, 550.0), c_timeAI);

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

    }

    AIAttackWaveSetTargetPlayer(gv_p2_PROTOSS_EAST_ATTACKERS, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveAddUnits4(1, 1, 2, 2, "Zealot");
    AIAttackWaveAddUnits4(0, 0, 0, 1, "Stalker");

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

    AIAttackWaveSetGatherPoint(gv_p12_ALLIED_CELLBLOCK_B, PointFromId(763));
    AIAttackWaveSetGatherPoint(gv_p3_DOMINION_RED, PointFromId(598));
    AIAttackWaveSetTargetPlayer(gv_p8_ALLIED_PINK, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIAttackWaveSetTargetPlayer(gv_p9_ALLIED_GREEN, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIAttackWaveSetTargetPlayer(gv_p11_ALLIED_CELLBLOCK_A, PlayerGroupSingle(gv_p4_DOMINION_PURPLE));

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

    AIAttackWaveSetGatherPoint(gv_p3_DOMINION_RED, PointFromId(598));
    AIAttackWaveSetTargetPlayer(gv_p8_ALLIED_PINK, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIAttackWaveSetTargetPlayer(gv_p9_ALLIED_GREEN, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIAttackWaveSetTargetPlayer(gv_p11_ALLIED_CELLBLOCK_A, PlayerGroupSingle(gv_p4_DOMINION_PURPLE));
    AIAttackWaveSetTargetPlayer(gv_p12_ALLIED_CELLBLOCK_B, PlayerGroupSingle(gv_p3_DOMINION_RED));

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

    AIAttackWaveSetTargetPlayer(gv_p8_ALLIED_PINK, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIAttackWaveSetTargetPlayer(gv_p9_ALLIED_GREEN, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIAttackWaveSetTargetPlayer(gv_p11_ALLIED_CELLBLOCK_A, PlayerGroupSingle(gv_p4_DOMINION_PURPLE));
    AIAttackWaveSetTargetPlayer(gv_p12_ALLIED_CELLBLOCK_B, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIToggleBulliesInRegion(gv_p2_RAYNOR_LIGHTBLUE, RegionFromId(12), true);

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

    AIAttackWaveSetTargetPlayer(gv_p9_ALLIED_GREEN, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIAttackWaveSetTargetPlayer(gv_p11_ALLIED_CELLBLOCK_A, PlayerGroupSingle(gv_p4_DOMINION_PURPLE));
    AIAttackWaveSetTargetPlayer(gv_p12_ALLIED_CELLBLOCK_B, PlayerGroupSingle(gv_p3_DOMINION_RED));
    AIToggleBulliesInRegion(gv_p2_RAYNOR_LIGHTBLUE, RegionFromId(12), true);
    AISetAPM(gv_p2_RAYNOR_LIGHTBLUE, 3000);

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

    auto95CD12D3_val = gv_stage;
    if (auto95CD12D3_val == 0) {
        AIAttackWaveSetTargetPlayer(gv_p2_RAYNOR_LIGHTBLUE, PlayerGroupSingle(gv_p5_DOMINION_GREY));
        gf_SetWaypoints(gv_p2_RAYNOR_LIGHTBLUE, 1, gv_waypointCount);
        AIAttackWaveAddUnits4(4, 4, 4, 4, "Marine");

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

    }
    else if (auto95CD12D3_val == 1) {
        AIAttackWaveSetTargetPlayer(gv_p2_RAYNOR_LIGHTBLUE, PlayerGroupSingle(gv_p4_DOMINION_PURPLE));
        gf_SetWaypoints(gv_p2_RAYNOR_LIGHTBLUE, 1, gv_waypointCount);
        AIAttackWaveAddUnits4(6, 6, 6, 6, "Marine");

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

    }
    else if (auto95CD12D3_val == 2) {
        AIAttackWaveSetTargetPlayer(gv_p2_RAYNOR_LIGHTBLUE, PlayerGroupSingle(gv_p3_DOMINION_RED));
        gf_SetWaypoints(gv_p2_RAYNOR_LIGHTBLUE, 1, gv_waypointCount);
        AIAttackWaveAddUnits4(8, 8, 8, 8, "Marine");

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

    }

    AIAttackWaveSetTargetPlayer(gv_p3_DOMINION_RED, PlayerGroupSingle(gv_p2_RAYNOR_LIGHTBLUE));
    gf_SetWaypoints(gv_p3_DOMINION_RED, gv_waypointCount, 1);
    auto7A07393A_val = gv_stage;

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


    TriggerEnable(TriggerGetCurrent(), false);
    AIAttackWaveSetTargetPlayer(gv_p3_DOMINION_RED, PlayerGroupSingle(gv_p2_RAYNOR_LIGHTBLUE));
    gf_SetWaypoints(gv_p3_DOMINION_RED, gv_waypointCount, 1);
    AIAttackWaveAddUnits4(0, 0, 2, 3, "Marauder");

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


    TriggerEnable(TriggerGetCurrent(), false);
    AIAttackWaveSetTargetPlayer(gv_p3_DOMINION_RED, PlayerGroupSingle(gv_p2_RAYNOR_LIGHTBLUE));
    gf_SetWaypoints(gv_p3_DOMINION_RED, gv_waypointCount, 1);
    AIAttackWaveAddUnits4(0, 0, 2, 3, "Marauder");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:958

            UnitSetOwner(UnitFromId(109), gv_p6_FIRST_PROTOSS, true);
            AISetUnitScriptControlled(UnitFromId(109), false);
            AIAttackWaveSetTargetPlayer(gv_p6_FIRST_PROTOSS, PlayerGroupSingle(gv_p1_USER));
            AIAttackWaveUseUnit(gv_p6_FIRST_PROTOSS, UnitFromId(109));
            AIAttackWaveSend(gv_p6_FIRST_PROTOSS, 0, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:1608

    TriggerQueueExit();
    if ((UnitGroupCount(gv_initialStalkers, c_unitCountAlive) > 0) && (gv_gameOver == false)) {
        AIAttackWaveSetTargetPlayer(gv_p6_FIRST_PROTOSS, PlayerGroupSingle(gv_p1_USER));
        AISetGroupScriptControlled(gv_initialStalkers, false);
        AIAttackWaveUseGroup(gv_p6_FIRST_PROTOSS, gv_initialStalkers);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3320

    Wait(2.0, c_timeAI);
    AISetGroupScriptControlled(lv_unitgroup, false);
    AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_ZERG, RegionGetCenter(RegionFromId(22)));
    AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(1840), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3325

    AIAttackWaveUseGroup(gv_p2_ZERG, lv_unitgroup);
    AIAttackWaveSend(gv_p2_ZERG, 0, false);
    AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5));
    AIAttackWaveAddUnits4(4, 4, 9, 13, "Zergling");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3330

    AIAttackWaveAddUnits4(0, 0, 1, 1, "Hydralisk");
    AIAttackWaveSend(gv_p2_ZERG, libNtve_gf_DifficultyValueInt(240, 210, 160, 160), true);
    AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5));
    AIAttackWaveAddUnits4(3, 3, 8, 6, "Zergling");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3337

    AIAttackWaveAddUnits4(0, 0, 2, 3, "Mutalisk");
    AIAttackWaveSend(gv_p2_ZERG, libNtve_gf_DifficultyValueInt(300, 270, 200, 200), true);
    AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5));
    AIAttackWaveAddUnits4(8, 3, 9, 0, "Zergling");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3345

    AIAttackWaveSend(gv_p2_ZERG, libNtve_gf_DifficultyValueInt(300, 240, 180, 180), false);
    Wait(libNtve_gf_DifficultyValueFixed(300.0, 240.0, 180.0, 180.0), c_timeAI);
    AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5));
    AIAttackWaveAddUnits4(1, 1, 1, 2, "Hydralisk");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3352

    AIAttackWaveSend(gv_p2_ZERG, libNtve_gf_DifficultyValueInt(240, 180, 160, 160), false);
    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
        AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
        AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5));
        AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(2106), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3360


    Wait(libNtve_gf_DifficultyValueFixed(240.0, 180.0, 160.0, 160.0), c_timeAI);
    AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5));
    AIAttackWaveAddUnits4(11, 5, 8, 5, "Zergling");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus01.sc2map/MapScript.galaxy:3367

    AIAttackWaveSend(gv_p2_ZERG, libNtve_gf_DifficultyValueInt(300, 270, 200, 200), false);
    if ((libNtve_gf_DifficultyValueInt(0, 0, 1, 1) == 1)) {
        AIAttackWaveSetTargetPlayer(gv_p2_ZERG, PlayerGroupSingle(gv_p1_USER));
        AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5));
        AIAttackWaveAddWaypoint(gv_p2_ZERG, PointFromId(2106), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3227

    AICampaignStart(gv_p4_SE_PROTOSSRight);
    AICampaignStart(gv_p5_NW_PROTOSSLeft);
    AIAttackWaveSetTargetPlayer(gv_p2_NE_PROTOSSMiddle, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetTargetPlayer(gv_p4_SE_PROTOSSRight, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetTargetPlayer(gv_p5_NW_PROTOSSLeft, PlayerGroupSingle(gv_p1_USER));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3228

    AICampaignStart(gv_p5_NW_PROTOSSLeft);
    AIAttackWaveSetTargetPlayer(gv_p2_NE_PROTOSSMiddle, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetTargetPlayer(gv_p4_SE_PROTOSSRight, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetTargetPlayer(gv_p5_NW_PROTOSSLeft, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_NE_PROTOSSMiddle, PointFromId(229));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3229

    AIAttackWaveSetTargetPlayer(gv_p2_NE_PROTOSSMiddle, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetTargetPlayer(gv_p4_SE_PROTOSSRight, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetTargetPlayer(gv_p5_NW_PROTOSSLeft, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p2_NE_PROTOSSMiddle, PointFromId(229));
    AIAttackWaveSetGatherPoint(gv_p4_SE_PROTOSSRight, PointFromId(232));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus03.sc2map/MapScript.galaxy:4763

    }

    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_BASE, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetGatherPoint(gv_p05_ZERG_BASE, PointFromId(326));
    Wait(90.0, c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1687

    }

    AIAttackWaveSetTargetPlayer(gv_pLAYER02_PROTOSS, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER02_PROTOSS, PointFromId(123));
    AIAttackWaveAddWaypoint(gv_pLAYER02_PROTOSS, PointFromId(433), false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1779

    }

    AIAttackWaveSetTargetPlayer(gv_pLAYER03_PROTOSS, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER03_PROTOSS, PointFromId(322));
    Wait(libNtve_gf_DifficultyValueFixed(90.0, 90.0, 60.0, 30.0), c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus04.sc2map/MapScript.galaxy:1813

    }

    AIAttackWaveSetTargetPlayer(gv_pLAYER04_PROTOSS, PlayerGroupSingle(gv_pLAYER01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER04_PROTOSS, PointFromId(262));
    Wait(libNtve_gf_DifficultyValueFixed(480.0, 480.0, 400.0, 320.0), c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3565


    CampaignInitAI();
    AIAttackWaveSetTargetPlayer(gv_pLAYER_02_ScriptedTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_03_HighTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_04_DarkTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3566

    CampaignInitAI();
    AIAttackWaveSetTargetPlayer(gv_pLAYER_02_ScriptedTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_03_HighTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_04_DarkTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER_03_HighTOSS, PointFromId(109));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3567

    AIAttackWaveSetTargetPlayer(gv_pLAYER_02_ScriptedTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_03_HighTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_04_DarkTOSS, PlayerGroupSingle(gv_pLAYER_01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER_03_HighTOSS, PointFromId(109));
    AIAttackWaveSetGatherPoint(gv_pLAYER_04_DarkTOSS, PointFromId(284));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3933

    }

    AIAttackWaveSetTargetPlayer(lv_thisAI, PlayerGroupSingle(gv_pLAYER_01_USER));
    Wait(60.0, c_timeAI);
    AIAttackWaveAddUnits4(2, 2, 3, 4, "Zealot");

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:3993

    TriggerExecute(gt_StartAI, true, false);
    TriggerStop(gt_P04AttackWavesMiddle);
    AIAttackWaveSetTargetPlayer(lv_thisAI, PlayerGroupSingle(gv_pLAYER_01_USER));
    Wait(90.0, c_timeAI);
    AIAttackWaveAddUnits4(1, 1, 2, 2, "Scout");

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

    AICampaignStart(gv_p07_ZERG_PINK);
    AICampaignStart(gv_p10_ZERG_WHITEHIVE);
    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_PURPLE_NE, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_ORANGE_NW, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p06_ZERG_GREEN_SW, PlayerGroupSingle(gv_p01_USER));

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

    AICampaignStart(gv_p10_ZERG_WHITEHIVE);
    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_PURPLE_NE, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_ORANGE_NW, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p06_ZERG_GREEN_SW, PlayerGroupSingle(gv_p01_USER));
    TriggerExecute(gt_ZerglingRush, true, false);

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

    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_PURPLE_NE, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_ORANGE_NW, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p06_ZERG_GREEN_SW, PlayerGroupSingle(gv_p01_USER));
    TriggerExecute(gt_ZerglingRush, true, false);
    TriggerExecute(gt_P5_Zerg_OrangeAttackWAVES, true, false);

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

            Wait(0.5, c_timeGame);
        }
        AIAttackWaveSetTargetPlayer(gv_p10_ZERG_WHITEHIVE, PlayerGroupSingle(gv_p01_USER));
        AIAttackWaveUseGroup(gv_p10_ZERG_WHITEHIVE, lv_waveUnits);
        AIAttackWaveSend(gv_p10_ZERG_WHITEHIVE, 0, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4216

    AIClearAllBullies(gv_pLAYER_P06_ZERG_TR);
    AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P04_ZERG_BL, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P05_ZERG_TL, PlayerGroupSingle(gv_pLAYER_P01_USER));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4217

    AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P04_ZERG_BL, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P05_ZERG_TL, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P06_ZERG_TR, PlayerGroupSingle(gv_pLAYER_P01_USER));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4218

    AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P04_ZERG_BL, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P05_ZERG_TL, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P06_ZERG_TR, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER_P03_ZERG_BR, PointFromId(369));

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4219

    AIAttackWaveSetTargetPlayer(gv_pLAYER_P04_ZERG_BL, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P05_ZERG_TL, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetTargetPlayer(gv_pLAYER_P06_ZERG_TR, PlayerGroupSingle(gv_pLAYER_P01_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER_P03_ZERG_BR, PointFromId(369));
    AIAttackWaveSetGatherPoint(gv_pLAYER_P04_ZERG_BL, PointFromId(370));

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

    if (autoCCF4CD2E_val == RegionFromId(5)) {
        gv_nextWavePlayer = gv_pLAYER_ZERG_MAIN;
        AIAttackWaveSetTargetPlayer(gv_nextWavePlayer, PlayerGroupSingle(gv_pLAYER_USER));
        AIAttackWaveSetGatherEarlyNoReplace(gv_nextWavePlayer);
        AIAttackWaveSetGatherPoint(gv_nextWavePlayer, PointFromId(713));

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

    else if (autoCCF4CD2E_val == RegionFromId(6)) {
        gv_nextWavePlayer = gv_pLAYER_ZERG_SOUTH;
        AIAttackWaveSetTargetPlayer(gv_nextWavePlayer, PlayerGroupSingle(gv_pLAYER_USER));
        AIAttackWaveSetGatherEarlyNoReplace(gv_nextWavePlayer);
        AIAttackWaveSetGatherPoint(gv_nextWavePlayer, PointFromId(715));

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

    else if (autoCCF4CD2E_val == RegionFromId(7)) {
        gv_nextWavePlayer = gv_pLAYER_ZERG_SOUTH;
        AIAttackWaveSetTargetPlayer(gv_nextWavePlayer, PlayerGroupSingle(gv_pLAYER_USER));
        AIAttackWaveSetGatherEarlyNoReplace(gv_nextWavePlayer);
        AIAttackWaveSetGatherPoint(gv_nextWavePlayer, PointFromId(742));

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

    else if (autoCCF4CD2E_val == RegionFromId(8)) {
        gv_nextWavePlayer = gv_pLAYER_ZERG_MAIN;
        AIAttackWaveSetTargetPlayer(gv_nextWavePlayer, PlayerGroupSingle(gv_pLAYER_USER));
        AIAttackWaveSetGatherEarlyNoReplace(gv_nextWavePlayer);
        AIAttackWaveSetGatherPoint(gv_nextWavePlayer, PointFromId(714));

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

    else if (autoCCF4CD2E_val == RegionFromId(9)) {
        gv_nextWavePlayer = gv_pLAYER_ZERG_EAST;
        AIAttackWaveSetTargetPlayer(gv_nextWavePlayer, PlayerGroupSingle(gv_pLAYER_USER));
        AIAttackWaveSetGatherEarlyNoReplace(gv_nextWavePlayer);
        AIAttackWaveSetGatherPoint(gv_nextWavePlayer, PointFromId(746));

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

    else if (autoCCF4CD2E_val == RegionFromId(10)) {
        gv_nextWavePlayer = gv_pLAYER_ZERG_EAST;
        AIAttackWaveSetTargetPlayer(gv_nextWavePlayer, PlayerGroupSingle(gv_pLAYER_USER));
        AIAttackWaveSetGatherEarlyNoReplace(gv_nextWavePlayer);
        AIAttackWaveSetGatherPoint(gv_nextWavePlayer, PointFromId(747));

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

    else {
        gv_nextWavePlayer = gv_pLAYER_ZERG_SPECIAL;
        AIAttackWaveSetTargetPlayer(gv_nextWavePlayer, PlayerGroupSingle(gv_pLAYER_USER));
        AIAttackWaveSetGatherPoint(gv_nextWavePlayer, RegionGetCenter(lp_location));
    }

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:901

    AICampaignStart(gv_p10_HYBRID_MANIFESTATIONS);
    libNtve_gf_SetTacticalAIThink(gv_p10_HYBRID_MANIFESTATIONS, "Maar", "", true);
    AIAttackWaveSetTargetPlayer(gv_p10_HYBRID_MANIFESTATIONS, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p10_HYBRID_MANIFESTATIONS, PointFromId(54));
    return true;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:959

    }

    AIAttackWaveSetTargetPlayer(gv_p6_PROTOSS_ENEMY, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p6_PROTOSS_ENEMY, PointFromId(321));
    Wait(120.0, c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1022

    }

    AIAttackWaveSetTargetPlayer(gv_p4_PROTOSS_ENEMY, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p4_PROTOSS_ENEMY, PointFromId(469));
    Wait(40.0, c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:1129

    }

    AIAttackWaveSetTargetPlayer(gv_p3_PROTOSS_ENEMY, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p3_PROTOSS_ENEMY, PointFromId(468));
    Wait(libNtve_gf_DifficultyValueFixed(80.0, 80.0, 50.0, 50.0), c_timeAI);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/tzeratul02.sc2map/MapScript.galaxy:2079

    AISetUnitScriptControlled(gv_hybridPhysical, false);
    lv_manifestation = UnitGroupUnit(UnitGroup("Maar", gv_p10_HYBRID_MANIFESTATIONS, RegionEntireMap(), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1), 1);
    AIAttackWaveSetTargetPlayer(gv_p10_HYBRID_MANIFESTATIONS, PlayerGroupSingle(gv_p1_USER));
    AIAttackWaveSetGatherPoint(gv_p10_HYBRID_MANIFESTATIONS, UnitGetPosition(lv_manifestation));
    AIAttackWaveAddWaypoint(gv_p10_HYBRID_MANIFESTATIONS, PointFromId(36), false);

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

    AICampaignStart(gv_p03_ZERG_NORTH);
    AICampaignStart(gv_p04_ZERG_EAST);
    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_LOW_GROUND_AI, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p03_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));

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

    AICampaignStart(gv_p04_ZERG_EAST);
    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_LOW_GROUND_AI, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p03_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));

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

    AIAttackWaveSetTargetPlayer(gv_p02_ZERG_LOW_GROUND_AI, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p03_ZERG_NORTH, PlayerGroupSingle(gv_p01_USER));
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_EAST, PlayerGroupSingle(gv_p01_USER));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(296));
    libNtve_gf_DeclareNextTown(gv_p02_ZERG_LOW_GROUND_AI, PointFromId(693));

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

    TriggerExecute(gt_PlayerHasNoStructures, true, false);
    CampaignInitAI();
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_NW, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_NE, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p06_ZERG_SE, PlayerGroupSingle(gv_p01_PLAYER));

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

    CampaignInitAI();
    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_NW, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_NE, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p06_ZERG_SE, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p07_FRENZIED_ZERG, PlayerGroupSingle(gv_p01_PLAYER));

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

    AIAttackWaveSetTargetPlayer(gv_p04_ZERG_NW, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_NE, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p06_ZERG_SE, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p07_FRENZIED_ZERG, PlayerGroupSingle(gv_p01_PLAYER));
    TriggerExecute(gt_AIUpgradesEN, true, false);

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

    AIAttackWaveSetTargetPlayer(gv_p05_ZERG_NE, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p06_ZERG_SE, PlayerGroupSingle(gv_p01_PLAYER));
    AIAttackWaveSetTargetPlayer(gv_p07_FRENZIED_ZERG, PlayerGroupSingle(gv_p01_PLAYER));
    TriggerExecute(gt_AIUpgradesEN, true, false);
    TriggerExecute(gt_AIUpgradesH, true, false);

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


    AICampaignStart(gv_pLAYER_ENEMY);
    AIAttackWaveSetTargetPlayer(gv_pLAYER_ENEMY, PlayerGroupSingle(gv_pLAYER_USER));
    AIAttackWaveSetGatherPoint(gv_pLAYER_ENEMY, PointFromId(29));
    libNtve_gf_CreateUnitsAtPoint2(6, "Zergling", 0, gv_pLAYER_ENEMY, PointFromId(29));