# Set Target Region For Attack/Defense Waves
Grammar — Set the target for player player attack (or defense) waves to be the region region with replace behavior replaceType.
Flags —Native
|Action
Sets the target of a player’s attack (or defense) waves to a region.
# Arguments
int
— Attackerregion
— Regionint
<preset::ReplaceType> — ReplaceType
Returns — void
native void AIAttackWaveSetTargetRegion(
int player,
region r,
int replaceType,
);
# 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/thorner04.sc2map/MapScript.galaxy:3753
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(808)));
AIAttackWaveSetTargetRegion(gv_p08_DOMINION, RegionCircle(UnitGetPosition(UnitFromId(808)), 10.0), 0);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1414), false);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1413), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3851
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(806)));
AIAttackWaveSetTargetRegion(gv_p08_DOMINION, RegionCircle(UnitGetPosition(UnitFromId(806)), 10.0), 0);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1416), false);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1418), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:3997
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(807)));
AIAttackWaveSetTargetRegion(gv_p08_DOMINION, RegionCircle(UnitGetPosition(UnitFromId(807)), 10.0), 0);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1419), false);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1516), false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1188
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(13), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(13)));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1212
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(14)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1237
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(15)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1263
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(16)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1289
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(17)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1327
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(13)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(13), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1367
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(16)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1408
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(17)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1451
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(15)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus05.sc2map/MapScript.galaxy:1491
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(14)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 1, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:3753
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(808)));
AIAttackWaveSetTargetRegion(gv_p08_DOMINION, RegionCircle(UnitGetPosition(UnitFromId(808)), 10.0), 0);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1414), false);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1413), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:3851
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(806)));
AIAttackWaveSetTargetRegion(gv_p08_DOMINION, RegionCircle(UnitGetPosition(UnitFromId(806)), 10.0), 0);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1416), false);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1418), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:3997
UnitSetPropertyFixed(UnitLastCreated(), c_unitPropEnergyPercent, 100.0);
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(807)));
AIAttackWaveSetTargetRegion(gv_p08_DOMINION, RegionCircle(UnitGetPosition(UnitFromId(807)), 10.0), 0);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1419), false);
AIAttackWaveAddWaypoint(gv_p08_DOMINION, PointFromId(1516), false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1188
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(13), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(13)));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1212
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(14)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1237
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(15)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1263
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(16)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1289
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(17)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
}
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1327
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(13)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(13), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1367
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(16)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(16), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1408
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(17)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(17), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1451
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(15)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(15), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 0, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus05.sc2map — MapScript.galaxy:1491
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(14)));
AIAttackWaveUseGroup(gv_pLAYER_02_ScriptedTOSS, UnitGroup(null, gv_pLAYER_02_ScriptedTOSS, RegionFromId(14), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_ScriptedTOSS, RegionFromId(3), 0);
AIAttackWaveSend(gv_pLAYER_02_ScriptedTOSS, 1, false);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map/MapScript.galaxy:536
}
AIAttackWaveSend(gv_pLAYER_02_DOMINION222, 0, false);
AIAttackWaveSetTargetRegion(gv_pLAYER_02_DOMINION, RegionCircle(gv_templeDefensePoint, 6.0), 0);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, UnitGetPosition(lv_hybrid));
AIAttackWaveUseUnit(gv_pLAYER_02_DOMINION, lv_hybrid);
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:3647
TriggerExecute(gt_KerriganInitialWaveGatheringQ, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_05_KERRIGAN_S01, PointFromId(506));
AIAttackWaveSetTargetRegion(gv_pLAYER_05_KERRIGAN_S01, RegionFromId(4), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_05_KERRIGAN_S01);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:3737
TriggerExecute(gt_Kerrigan05WaveGathering, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_05_KERRIGAN_S01, PointFromId(506));
AIAttackWaveSetTargetRegion(gv_pLAYER_05_KERRIGAN_S01, RegionFromId(4), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_05_KERRIGAN_S01);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:3987
TriggerExecute(gt_Kerrigan06WaveGathering, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_06_KERRIGAN_S02, PointFromId(507));
AIAttackWaveSetTargetRegion(gv_pLAYER_06_KERRIGAN_S02, RegionFromId(5), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_06_KERRIGAN_S02);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:4257
TriggerExecute(gt_Kerrigan07RevealAndWarnFinalBaseTransmissionQ, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_07_KERRIGAN_S03, PointFromId(530));
AIAttackWaveSetTargetRegion(gv_pLAYER_07_KERRIGAN_S03, RegionFromId(6), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_07_KERRIGAN_S03);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map/MapScript.galaxy:4352
TriggerExecute(gt_Kerrigan07WaveGathering, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_07_KERRIGAN_S03, PointFromId(530));
AIAttackWaveSetTargetRegion(gv_pLAYER_07_KERRIGAN_S03, RegionFromId(6), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_07_KERRIGAN_S03);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid03.sc2map — MapScript.galaxy:536
}
AIAttackWaveSend(gv_pLAYER_02_DOMINION222, 0, false);
AIAttackWaveSetTargetRegion(gv_pLAYER_02_DOMINION, RegionCircle(gv_templeDefensePoint, 6.0), 0);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, UnitGetPosition(lv_hybrid));
AIAttackWaveUseUnit(gv_pLAYER_02_DOMINION, lv_hybrid);
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:3647
TriggerExecute(gt_KerriganInitialWaveGatheringQ, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_05_KERRIGAN_S01, PointFromId(506));
AIAttackWaveSetTargetRegion(gv_pLAYER_05_KERRIGAN_S01, RegionFromId(4), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_05_KERRIGAN_S01);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:3737
TriggerExecute(gt_Kerrigan05WaveGathering, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_05_KERRIGAN_S01, PointFromId(506));
AIAttackWaveSetTargetRegion(gv_pLAYER_05_KERRIGAN_S01, RegionFromId(4), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_05_KERRIGAN_S01);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:3987
TriggerExecute(gt_Kerrigan06WaveGathering, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_06_KERRIGAN_S02, PointFromId(507));
AIAttackWaveSetTargetRegion(gv_pLAYER_06_KERRIGAN_S02, RegionFromId(5), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_06_KERRIGAN_S02);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:4257
TriggerExecute(gt_Kerrigan07RevealAndWarnFinalBaseTransmissionQ, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_07_KERRIGAN_S03, PointFromId(530));
AIAttackWaveSetTargetRegion(gv_pLAYER_07_KERRIGAN_S03, RegionFromId(6), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_07_KERRIGAN_S03);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/voidprologue/voidprologue01.sc2map — MapScript.galaxy:4352
TriggerExecute(gt_Kerrigan07WaveGathering, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_07_KERRIGAN_S03, PointFromId(530));
AIAttackWaveSetTargetRegion(gv_pLAYER_07_KERRIGAN_S03, RegionFromId(6), 0);
AIAttackWaveSetGatherEarlyNoReplace(gv_pLAYER_07_KERRIGAN_S03);
AIAttackWaveAddUnits3(30, 30, 30, "HotSRaptor");
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier01.sc2map/MapScript.galaxy:2883
Wait(0.1, c_timeAI);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_TALDARIM, UnitGetPosition(UnitLastCreated()));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_TALDARIM, RegionFromId(36), 0);
AIAttackWaveUseUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated());
AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier02.sc2map/MapScript.galaxy:571
lv_defendRegion = RegionFromId(20);
}
AIAttackWaveSetTargetRegion(lp_player, lv_defendRegion, 0);
AIAttackWaveSetGatherPoint(lp_player, lp_position);
AIAttackWaveUseGroup(lp_player, gv_caveZergGroup);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:762
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION7, UnitGroupCenterOfGroup(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_DOMINION7, gv_zergBase[lp_chosenZergBaseTarget].lv_baseRegion, 0);
AIAttackWaveUseGroup(gv_pLAYER_02_DOMINION7, gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSend(gv_pLAYER_02_DOMINION7, 0, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/ppurifier03.sc2map/MapScript.galaxy:784
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION7, UnitGroupCenterOfGroup(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_DOMINION7, gv_zergBase[lp_zergBaseIndex].lv_waveDespawnRegion, 0);
AIAttackWaveUseGroup(gv_pLAYER_02_DOMINION7, gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSend(gv_pLAYER_02_DOMINION7, 0, true);
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:626
if (((lv_attackTargetList[1] == gv_celestialLocks[1].lv_captureRegion) || (lv_attackTargetList[1] == gv_celestialLocks[4].lv_captureRegion) || (lv_attackTargetList[1] == gv_celestialLocks[5].lv_captureRegion))) {
if ((lp_player == gv_pLAYER_02_TALDARIM)) {
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(432), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(1003));
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:630
}
else {
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(907), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(905));
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:636
else {
if ((lp_player == gv_pLAYER_02_TALDARIM)) {
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(344), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(1002));
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:641
else {
lv_lowerRightAttack = true;
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(452), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(904));
}
campaigns/void.sc2campaign — base.sc2maps/maps/campaign/void/pulnar01.sc2map/MapScript.galaxy:705
if ((gf_AttackRegionisValid(lv_attackTargetList[lv_currentValidTarget]) == true)) {
AIRemoveGroupFromAnyWavesAndSetHome(lv_attackWaveUnits, UnitGroupCenterOfGroup(lv_attackWaveUnits));
AIAttackWaveSetTargetRegion(lp_player, lv_attackTargetList[lv_currentValidTarget], 0);
AIAttackWaveSetGatherPoint(lp_player, UnitGroupCenterOfGroup(lv_attackWaveUnits));
if ((lv_lowerRightAttack == true) && ((lv_attackTargetList[lv_currentValidTarget] == RegionFromId(32)) || (lv_attackTargetList[lv_currentValidTarget] == RegionFromId(33)))) {
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier01.sc2map — MapScript.galaxy:2883
Wait(0.1, c_timeAI);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_TALDARIM, UnitGetPosition(UnitLastCreated()));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_TALDARIM, RegionFromId(36), 0);
AIAttackWaveUseUnit(gv_pLAYER_02_TALDARIM, UnitLastCreated());
AIAttackWaveSend(gv_pLAYER_02_TALDARIM, 0, true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier02.sc2map — MapScript.galaxy:571
lv_defendRegion = RegionFromId(20);
}
AIAttackWaveSetTargetRegion(lp_player, lv_defendRegion, 0);
AIAttackWaveSetGatherPoint(lp_player, lp_position);
AIAttackWaveUseGroup(lp_player, gv_caveZergGroup);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:762
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION7, UnitGroupCenterOfGroup(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_DOMINION7, gv_zergBase[lp_chosenZergBaseTarget].lv_baseRegion, 0);
AIAttackWaveUseGroup(gv_pLAYER_02_DOMINION7, gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSend(gv_pLAYER_02_DOMINION7, 0, true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/ppurifier03.sc2map — MapScript.galaxy:784
AIRemoveGroupFromAnyWaves(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION7, UnitGroupCenterOfGroup(gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup));
AIAttackWaveSetTargetRegion(gv_pLAYER_02_DOMINION7, gv_zergBase[lp_zergBaseIndex].lv_waveDespawnRegion, 0);
AIAttackWaveUseGroup(gv_pLAYER_02_DOMINION7, gv_purifierStasisChambers[lp_containmentTowerIndex].lv_warpathGroup);
AIAttackWaveSend(gv_pLAYER_02_DOMINION7, 0, true);
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2map — MapScript.galaxy:626
if (((lv_attackTargetList[1] == gv_celestialLocks[1].lv_captureRegion) || (lv_attackTargetList[1] == gv_celestialLocks[4].lv_captureRegion) || (lv_attackTargetList[1] == gv_celestialLocks[5].lv_captureRegion))) {
if ((lp_player == gv_pLAYER_02_TALDARIM)) {
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(432), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(1003));
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2map — MapScript.galaxy:630
}
else {
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(907), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(905));
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2map — MapScript.galaxy:636
else {
if ((lp_player == gv_pLAYER_02_TALDARIM)) {
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(344), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(1002));
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2map — MapScript.galaxy:641
else {
lv_lowerRightAttack = true;
AIAttackWaveSetTargetRegion(lp_player, RegionCircle(PointFromId(452), 4.0), 0);
AIAttackWaveSetGatherPoint(lp_player, PointFromId(904));
}
campaigns/void.sc2campaign/base.sc2maps/maps/campaign/void/pulnar01.sc2map — MapScript.galaxy:705
if ((gf_AttackRegionisValid(lv_attackTargetList[lv_currentValidTarget]) == true)) {
AIRemoveGroupFromAnyWavesAndSetHome(lv_attackWaveUnits, UnitGroupCenterOfGroup(lv_attackWaveUnits));
AIAttackWaveSetTargetRegion(lp_player, lv_attackTargetList[lv_currentValidTarget], 0);
AIAttackWaveSetGatherPoint(lp_player, UnitGroupCenterOfGroup(lv_attackWaveUnits));
if ((lv_lowerRightAttack == true) && ((lv_attackTargetList[lv_currentValidTarget] == RegionFromId(32)) || (lv_attackTargetList[lv_currentValidTarget] == RegionFromId(33)))) {
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:6379
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetGatherPoint(gv_pLAYER_08_FERALZERG_INSIDE, RegionGetCenter(RegionFromId(55)));
AIAttackWaveSetTargetRegion(gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(84), 0);
AIAttackWaveUseGroup(gv_pLAYER_08_FERALZERG_INSIDE, UnitGroup("Zergling", gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(55), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSend(gv_pLAYER_08_FERALZERG_INSIDE, 0, false);
mods/novastoryassets.sc2mod — base.sc2maps/maps/campaign/nova/nova03.sc2map/MapScript.galaxy:6599
TriggerExecute(gt_S3OutsideShuttlesTransmissionQ, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_08_FERALZERG_INSIDE, RegionGetCenter(RegionFromId(85)));
AIAttackWaveSetTargetRegion(gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(95), 0);
AIAttackWaveUseGroup(gv_pLAYER_08_FERALZERG_INSIDE, UnitGroup(null, gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(85), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSend(gv_pLAYER_08_FERALZERG_INSIDE, 0, false);
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:6379
TriggerEnable(TriggerGetCurrent(), false);
AIAttackWaveSetGatherPoint(gv_pLAYER_08_FERALZERG_INSIDE, RegionGetCenter(RegionFromId(55)));
AIAttackWaveSetTargetRegion(gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(84), 0);
AIAttackWaveUseGroup(gv_pLAYER_08_FERALZERG_INSIDE, UnitGroup("Zergling", gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(55), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSend(gv_pLAYER_08_FERALZERG_INSIDE, 0, false);
mods/novastoryassets.sc2mod/base.sc2maps/maps/campaign/nova/nova03.sc2map — MapScript.galaxy:6599
TriggerExecute(gt_S3OutsideShuttlesTransmissionQ, true, false);
AIAttackWaveSetGatherPoint(gv_pLAYER_08_FERALZERG_INSIDE, RegionGetCenter(RegionFromId(85)));
AIAttackWaveSetTargetRegion(gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(95), 0);
AIAttackWaveUseGroup(gv_pLAYER_08_FERALZERG_INSIDE, UnitGroup(null, gv_pLAYER_08_FERALZERG_INSIDE, RegionFromId(85), UnitFilter(0, 0, (1 << c_targetFilterMissile), (1 << (c_targetFilterDead - 32)) | (1 << (c_targetFilterHidden - 32))), 0));
AIAttackWaveSend(gv_pLAYER_08_FERALZERG_INSIDE, 0, false);