# Set Target Unit For Attack Waves
Grammar — Set the target for player player attack waves to unitTag
Flags —Native
|Action
Sets a unit to be the target of a player’s attack waves.
# Arguments
int
— Attackerunit
— Unit
Returns — void
native void AIAttackWaveSetTargetUnit(int player, unit u);
# Related
Category: AI / AttackWaves / Actions
- Add Unit To Attack Wave —
void
— AIAttackWaveUseUnit - Add Unit Group To Attack Wave —
void
— AIAttackWaveUseGroup - Add Escort Unit To Attack Wave —
void
— AIAttackWaveAddEscortUnit - Add Escort UnitType To Attack Wave —
void
— AIAttackWaveAddEscortType - Add Attack Wave Waypoint —
void
— AIAttackWaveAddWaypoint - Send Attack Wave —
void
— AIAttackWaveSend - Cancel Attack Wave —
void
— AIAttackWaveCancel - Set Attack Wave Gather Point —
void
— AIAttackWaveSetGatherPoint - Set Target Player For Attack Waves —
void
— AIAttackWaveSetTargetPlayer - Set Target Unit For Attack Waves —
void
— AIAttackWaveSetTargetUnit - Set Target UnitGroup For Attack Waves —
void
— AIAttackWaveSetTargetUnitGroup - Set Target UnitArea For Attack Waves —
void
— AIAttackWaveSetTargetUnitPoint - Set Target Point For Attack Waves —
void
— AIAttackWaveSetTargetPoint - Set Target Merge For Attack Waves —
void
— AIAttackWaveSetTargetMerge - Set Target Patrol For Attack Waves —
void
— AIAttackWaveSetTargetPatrol - Set Target Escort For Attack Waves —
void
— AIAttackWaveSetTargetEscort - Set Target Escort For Attack Waves, No Leashing —
void
— AIAttackWaveSetTargetEscortNL - Set Target Gather Defense For Attack Waves —
void
— AIAttackWaveSetTargetGatherD - Set Target Gather Offense For Attack Waves —
void
— AIAttackWaveSetTargetGatherO - Set Target Melee For Attack Waves —
void
— AIAttackWaveSetTargetMelee - Set Target Melee Harass For Attack Waves —
void
— AIAttackWaveSetTargetMeleeHarass - Set Target Region For Attack/Defense Waves —
void
— AIAttackWaveSetTargetRegion - Add Attack Wave Unit Types (Liberty) —
void
— AIAttackWaveAddUnits4 - Add Attack Wave Unit Types (Swarm) —
void
— AIAttackWaveAddUnits3 - Set Attack Wave Keep Alive —
void
— AIAttackWaveSetKeepAlive - Set Attack Wave Gather Early No Replace —
void
— AIAttackWaveSetGatherEarlyNoReplace
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2103
if ((UnitGroupCount(UnitGroup(null, gv_p04_DOMINION_INFANTRY_A, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 8)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p08_DOMINION_INFANTRY_B, UnitFromId(2));
AIAttackWaveAddUnits4(2, 2, 4, 8, "Marine");
AIAttackWaveAddUnits4(1, 1, 3, 5, "Marauder");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2107
AIAttackWaveAddUnits4(1, 1, 3, 5, "Marauder");
AIAttackWaveSend(gv_p08_DOMINION_INFANTRY_B, 0, false);
AIAttackWaveSetTargetUnit(gv_p08_DOMINION_INFANTRY_B, UnitFromId(2));
AIAttackWaveAddUnits4(3, 3, 5, 10, "Marine");
AIAttackWaveAddUnits4(1, 1, 2, 3, "Marauder");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2351
if ((UnitGroupCount(UnitGroup(null, gv_p08_DOMINION_INFANTRY_B, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 11)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p05_DOMINION_FACTORY, UnitFromId(2));
AIAttackWaveAddUnits4(5, 5, 6, 8, "Vulture");
AIAttackWaveSend(gv_p05_DOMINION_FACTORY, 0, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2354
AIAttackWaveAddUnits4(5, 5, 6, 8, "Vulture");
AIAttackWaveSend(gv_p05_DOMINION_FACTORY, 0, false);
AIAttackWaveSetTargetUnit(gv_p05_DOMINION_FACTORY, UnitFromId(2));
AIAttackWaveAddUnits4(6, 6, 9, 15, "Vulture");
AIAttackWaveAddUnits4(1, 1, 2, 2, "Diamondback");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2611
if ((UnitGroupCount(UnitGroup(null, gv_p05_DOMINION_FACTORY, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 13)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p06_DOMINION_STARPORT_A, UnitFromId(2));
AIAttackWaveAddWaypoint(gv_p06_DOMINION_STARPORT_A, PointFromId(2200), false);
AIAttackWaveAddUnits4(1, 1, 1, 2, "Banshee");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2617
AIAttackWaveAddUnits4(0, 0, 0, 2, "Marauder");
AIAttackWaveSend(gv_p06_DOMINION_STARPORT_A, 0, false);
AIAttackWaveSetTargetUnit(gv_p06_DOMINION_STARPORT_A, UnitFromId(2));
AIAttackWaveAddWaypoint(gv_p06_DOMINION_STARPORT_A, PointFromId(2200), false);
AIAttackWaveAddUnits4(1, 1, 2, 2, "Marauder");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2711
libNtve_gf_ShareVisionofUnit(UnitFromId(503), true, gv_p06_DOMINION_STARPORT_A);
if ((UnitIsAlive(UnitFromId(503)) == true)) {
AIAttackWaveSetTargetUnit(gv_p06_DOMINION_STARPORT_A, UnitFromId(503));
}
else {
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2861
if ((UnitGroupCount(UnitGroup(null, gv_p06_DOMINION_STARPORT_A, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 13)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p07_DOMINION_STARPORT_B, UnitFromId(2));
AIAttackWaveAddUnits4(1, 1, 2, 3, "Marauder");
AIAttackWaveAddUnits4(3, 3, 4, 7, "Marine");
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner03.sc2map/MapScript.galaxy:2866
AIAttackWaveAddUnits4(2, 2, 3, 3, "VikingFighter");
AIAttackWaveSend(gv_p07_DOMINION_STARPORT_B, 0, false);
AIAttackWaveSetTargetUnit(gv_p07_DOMINION_STARPORT_B, UnitFromId(2));
AIAttackWaveAddUnits4(3, 3, 4, 6, "Marauder");
AIAttackWaveAddUnits4(1, 1, 2, 3, "Banshee");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2103
if ((UnitGroupCount(UnitGroup(null, gv_p04_DOMINION_INFANTRY_A, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 8)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p08_DOMINION_INFANTRY_B, UnitFromId(2));
AIAttackWaveAddUnits4(2, 2, 4, 8, "Marine");
AIAttackWaveAddUnits4(1, 1, 3, 5, "Marauder");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2107
AIAttackWaveAddUnits4(1, 1, 3, 5, "Marauder");
AIAttackWaveSend(gv_p08_DOMINION_INFANTRY_B, 0, false);
AIAttackWaveSetTargetUnit(gv_p08_DOMINION_INFANTRY_B, UnitFromId(2));
AIAttackWaveAddUnits4(3, 3, 5, 10, "Marine");
AIAttackWaveAddUnits4(1, 1, 2, 3, "Marauder");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2351
if ((UnitGroupCount(UnitGroup(null, gv_p08_DOMINION_INFANTRY_B, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 11)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p05_DOMINION_FACTORY, UnitFromId(2));
AIAttackWaveAddUnits4(5, 5, 6, 8, "Vulture");
AIAttackWaveSend(gv_p05_DOMINION_FACTORY, 0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2354
AIAttackWaveAddUnits4(5, 5, 6, 8, "Vulture");
AIAttackWaveSend(gv_p05_DOMINION_FACTORY, 0, false);
AIAttackWaveSetTargetUnit(gv_p05_DOMINION_FACTORY, UnitFromId(2));
AIAttackWaveAddUnits4(6, 6, 9, 15, "Vulture");
AIAttackWaveAddUnits4(1, 1, 2, 2, "Diamondback");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2611
if ((UnitGroupCount(UnitGroup(null, gv_p05_DOMINION_FACTORY, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 13)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p06_DOMINION_STARPORT_A, UnitFromId(2));
AIAttackWaveAddWaypoint(gv_p06_DOMINION_STARPORT_A, PointFromId(2200), false);
AIAttackWaveAddUnits4(1, 1, 1, 2, "Banshee");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2617
AIAttackWaveAddUnits4(0, 0, 0, 2, "Marauder");
AIAttackWaveSend(gv_p06_DOMINION_STARPORT_A, 0, false);
AIAttackWaveSetTargetUnit(gv_p06_DOMINION_STARPORT_A, UnitFromId(2));
AIAttackWaveAddWaypoint(gv_p06_DOMINION_STARPORT_A, PointFromId(2200), false);
AIAttackWaveAddUnits4(1, 1, 2, 2, "Marauder");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2711
libNtve_gf_ShareVisionofUnit(UnitFromId(503), true, gv_p06_DOMINION_STARPORT_A);
if ((UnitIsAlive(UnitFromId(503)) == true)) {
AIAttackWaveSetTargetUnit(gv_p06_DOMINION_STARPORT_A, UnitFromId(503));
}
else {
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2861
if ((UnitGroupCount(UnitGroup(null, gv_p06_DOMINION_STARPORT_A, RegionEntireMap(), UnitFilter((1 << c_targetFilterStructure), 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0), c_unitCountAlive) <= 13)) {
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetTargetUnit(gv_p07_DOMINION_STARPORT_B, UnitFromId(2));
AIAttackWaveAddUnits4(1, 1, 2, 3, "Marauder");
AIAttackWaveAddUnits4(3, 3, 4, 7, "Marine");
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner03.sc2map — MapScript.galaxy:2866
AIAttackWaveAddUnits4(2, 2, 3, 3, "VikingFighter");
AIAttackWaveSend(gv_p07_DOMINION_STARPORT_B, 0, false);
AIAttackWaveSetTargetUnit(gv_p07_DOMINION_STARPORT_B, UnitFromId(2));
AIAttackWaveAddUnits4(3, 3, 4, 6, "Marauder");
AIAttackWaveAddUnits4(1, 1, 2, 3, "Banshee");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:4321
Wait(3.0, c_timeGame);
if ((UnitGroupCount(gv_killTeam01, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION, gv_kerrigan);
auto392DF9EF_g = gv_killTeam01;
auto392DF9EF_u = UnitGroupCount(auto392DF9EF_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map/MapScript.galaxy:4389
Wait(3.0, c_timeGame);
if ((UnitGroupCount(gv_killTeam02, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION, gv_kerrigan);
auto44D09FD1_g = gv_killTeam02;
auto44D09FD1_u = UnitGroupCount(auto44D09FD1_g, c_unitCountAll);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:6802
auto44131E42_var = PlayerGroupNextPlayer(auto44131E42_g, auto44131E42_var);
if (auto44131E42_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto44131E42_var, gf_AITargetNextHut(ge_AttackVector_East));
}
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:6839
auto0E2346E5_var = PlayerGroupNextPlayer(auto0E2346E5_g, auto0E2346E5_var);
if (auto0E2346E5_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto0E2346E5_var, gf_AITargetNextHut(ge_AttackVector_East));
}
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:6874
auto5DE73C9D_var = PlayerGroupNextPlayer(auto5DE73C9D_g, auto5DE73C9D_var);
if (auto5DE73C9D_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto5DE73C9D_var, gf_AITargetNextHut(ge_AttackVector_West));
}
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zlab03.sc2map/MapScript.galaxy:6909
auto1C933212_var = PlayerGroupNextPlayer(auto1C933212_g, auto1C933212_var);
if (auto1C933212_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto1C933212_var, gf_AITargetNextHut(ge_AttackVector_East));
}
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zzerus02.sc2map/MapScript.galaxy:1383
libSwaC_gf_PingMinimapCampaign(PlayerGroupAll(), PointFromId(197), 5.0, Color(100.00, 0.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/89062279"), null, PointFromId(197));
AIAttackWaveSetTargetUnit(gv_pLAYER_02_BRAKK, gv_kerrigan);
AIAttackWaveUseGroup(gv_pLAYER_02_BRAKK, gv_introAttackUnits);
AIAttackWaveSend(gv_pLAYER_02_BRAKK, 0, false);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:4321
Wait(3.0, c_timeGame);
if ((UnitGroupCount(gv_killTeam01, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION, gv_kerrigan);
auto392DF9EF_g = gv_killTeam01;
auto392DF9EF_u = UnitGroupCount(auto392DF9EF_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zkorhal01.sc2map — MapScript.galaxy:4389
Wait(3.0, c_timeGame);
if ((UnitGroupCount(gv_killTeam02, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION, gv_kerrigan);
auto44D09FD1_g = gv_killTeam02;
auto44D09FD1_u = UnitGroupCount(auto44D09FD1_g, c_unitCountAll);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:6802
auto44131E42_var = PlayerGroupNextPlayer(auto44131E42_g, auto44131E42_var);
if (auto44131E42_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto44131E42_var, gf_AITargetNextHut(ge_AttackVector_East));
}
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:6839
auto0E2346E5_var = PlayerGroupNextPlayer(auto0E2346E5_g, auto0E2346E5_var);
if (auto0E2346E5_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto0E2346E5_var, gf_AITargetNextHut(ge_AttackVector_East));
}
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:6874
auto5DE73C9D_var = PlayerGroupNextPlayer(auto5DE73C9D_g, auto5DE73C9D_var);
if (auto5DE73C9D_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto5DE73C9D_var, gf_AITargetNextHut(ge_AttackVector_West));
}
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab03.sc2map — MapScript.galaxy:6909
auto1C933212_var = PlayerGroupNextPlayer(auto1C933212_g, auto1C933212_var);
if (auto1C933212_var < 0) { break; }
AIAttackWaveSetTargetUnit(auto1C933212_var, gf_AITargetNextHut(ge_AttackVector_East));
}
return true;
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zzerus02.sc2map — MapScript.galaxy:1383
libSwaC_gf_PingMinimapCampaign(PlayerGroupAll(), PointFromId(197), 5.0, Color(100.00, 0.00, 0.00));
UIAlertPoint("Trigger", gv_pLAYER_01_USER, StringExternal("Param/Value/89062279"), null, PointFromId(197));
AIAttackWaveSetTargetUnit(gv_pLAYER_02_BRAKK, gv_kerrigan);
AIAttackWaveUseGroup(gv_pLAYER_02_BRAKK, gv_introAttackUnits);
AIAttackWaveSend(gv_pLAYER_02_BRAKK, 0, false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:3693
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
AIAttackWaveAddUnits4(6, 6, 6, 6, "Zergling");
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:3742
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
AIAttackWaveAddUnits4(4, 4, 8, 8, "Zergling");
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:3841
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
AIAttackWaveAddUnits4(10, 10, 10, 12, "Zergling");
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:3943
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 0, 3), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4000
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(1, 1, 1, 2), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4109
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(1, 1, 0, 3), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4164
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 2, 3), "HybridReaver", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4339
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 2, 5), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4392
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 0, 0), "HybridReaver", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:4462
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector02);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector02);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(1, 1, 1, 2), "HybridReaver", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:636
if ((libVCMI_gf_GameIsOver() == false)) {
libNtve_gf_CreateUnitsAtPoint2(lp_qTY, lp_uNIT_TYPE, 0, lp_pLAYER, lp_sPAWN_POINT);
AIAttackWaveSetTargetUnit(lp_pLAYER, gv_kERRIGAN);
auto3E983B38_val = lp_sPAWN_POINT;
if (auto3E983B38_val == PointFromId(358)) {
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:4220
Wait(60.0, c_timeGame);
if ((UnitGroupCount(gv_introDirectionalWave, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION4, gv_kERRIGAN);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(79), false);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(362), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map/MapScript.galaxy:4403
Wait(30.0, c_timeAI);
if ((UnitGroupCount(gv_introDirectionalWave, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION4, gv_kERRIGAN);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(79), false);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(362), false);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map/MapScript.galaxy:948
}
if ((libNtve_gf_UnitGroupIsDead(UnitGroup(null, gv_pLAYER_01_USER, null, UnitFilter((1 << c_targetFilterPreventDefeat), 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1)) == true)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_04_AMON, gv_kerrigan);
}
else {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:3693
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
AIAttackWaveAddUnits4(6, 6, 6, 6, "Zergling");
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:3742
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
AIAttackWaveAddUnits4(4, 4, 8, 8, "Zergling");
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:3841
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
AIAttackWaveAddUnits4(10, 10, 10, 12, "Zergling");
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:3943
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 0, 3), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:4000
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(1, 1, 1, 2), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:4109
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(1, 1, 0, 3), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:4164
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 2, 3), "HybridReaver", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:4339
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 2, 5), "HybridDestroyer", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:4392
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(2, 2, 0, 0), "HybridReaver", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:4462
lv_attackingZergBase = gf_GetZergBaseAttacker(lv_attackVector02);
AIAttackWaveSetGatherPoint(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
AIAttackWaveSetTargetUnit(gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_purifierCoreMatrix);
gf_AddWaypointIfZergBase03Attacking(lv_attackingZergBase, lv_attackVector02);
libNtve_gf_CreateUnitsWithDefaultFacing(libLotv_gf_DifficultyValueInt2(1, 1, 1, 2), "HybridReaver", 0, gv_zergBase[lv_attackingZergBase].lv_basePlayer, gv_zergBase[lv_attackingZergBase].lv_waveGatherPoint);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:636
if ((libVCMI_gf_GameIsOver() == false)) {
libNtve_gf_CreateUnitsAtPoint2(lp_qTY, lp_uNIT_TYPE, 0, lp_pLAYER, lp_sPAWN_POINT);
AIAttackWaveSetTargetUnit(lp_pLAYER, gv_kERRIGAN);
auto3E983B38_val = lp_sPAWN_POINT;
if (auto3E983B38_val == PointFromId(358)) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:4220
Wait(60.0, c_timeGame);
if ((UnitGroupCount(gv_introDirectionalWave, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION4, gv_kERRIGAN);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(79), false);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(362), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue02.sc2map — MapScript.galaxy:4403
Wait(30.0, c_timeAI);
if ((UnitGroupCount(gv_introDirectionalWave, c_unitCountAlive) > 0)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_02_DOMINION4, gv_kERRIGAN);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(79), false);
AIAttackWaveAddWaypoint(gv_pLAYER_02_DOMINION4, PointFromId(362), false);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/sc2epilogue03.sc2map — MapScript.galaxy:948
}
if ((libNtve_gf_UnitGroupIsDead(UnitGroup(null, gv_pLAYER_01_USER, null, UnitFilter((1 << c_targetFilterPreventDefeat), 0, 0, (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 1)) == true)) {
AIAttackWaveSetTargetUnit(gv_pLAYER_04_AMON, gv_kerrigan);
}
else {
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:1762
// Automatic Variable Declarations
// Implementation
AIAttackWaveSetTargetUnit(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, gv_terrazineTankLocations[lp_terrazineTankIndex].lv_terrazineTankUnit);
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionGetCenter(lp_spawnRegion));
if ((lp_waveStartsBurrowed == true)) {
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:2036
// Automatic Variable Declarations
// Implementation
AIAttackWaveSetTargetUnit(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, gv_terrazineTankLocations[lp_terrazineTankIndex].lv_terrazineTankUnit);
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, lp_launchPoint);
gf_AddInfestedUnitsToEggPopperWave(lp_terrazineTankIndex, "InfestedCivilian", lp_infestedTerranCount, lp_launchPoint);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:2879
}
AIAttackWaveSetGatherPoint(gv_pLAYER_04_PROTOSS_WAVES, PointFromId(666));
AIAttackWaveSetTargetUnit(gv_pLAYER_04_PROTOSS_WAVES, gv_terrazineTankLocations[lv_terrazineTankTargetIndex].lv_terrazineTankUnit);
AIAttackWaveAddWaypoint(gv_pLAYER_04_PROTOSS_WAVES, gv_terrazineTankLocations[lv_terrazineTankTargetIndex].lv_protossClaimerWaveTransportTarget, false);
AIAttackWaveUseGroup(gv_pLAYER_04_PROTOSS_WAVES, gv_terrazineTankLocations[lv_terrazineTankTargetIndex].lv_protossClaimerWaveUnitGroup);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:1762
// Automatic Variable Declarations
// Implementation
AIAttackWaveSetTargetUnit(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, gv_terrazineTankLocations[lp_terrazineTankIndex].lv_terrazineTankUnit);
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionGetCenter(lp_spawnRegion));
if ((lp_waveStartsBurrowed == true)) {
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:2036
// Automatic Variable Declarations
// Implementation
AIAttackWaveSetTargetUnit(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, gv_terrazineTankLocations[lp_terrazineTankIndex].lv_terrazineTankUnit);
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, lp_launchPoint);
gf_AddInfestedUnitsToEggPopperWave(lp_terrazineTankIndex, "InfestedCivilian", lp_infestedTerranCount, lp_launchPoint);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:2879
}
AIAttackWaveSetGatherPoint(gv_pLAYER_04_PROTOSS_WAVES, PointFromId(666));
AIAttackWaveSetTargetUnit(gv_pLAYER_04_PROTOSS_WAVES, gv_terrazineTankLocations[lv_terrazineTankTargetIndex].lv_terrazineTankUnit);
AIAttackWaveAddWaypoint(gv_pLAYER_04_PROTOSS_WAVES, gv_terrazineTankLocations[lv_terrazineTankTargetIndex].lv_protossClaimerWaveTransportTarget, false);
AIAttackWaveUseGroup(gv_pLAYER_04_PROTOSS_WAVES, gv_terrazineTankLocations[lv_terrazineTankTargetIndex].lv_protossClaimerWaveUnitGroup);