# Set Attack Wave Gather Point
Grammar — Set the attack wave gather point to gatherPoint for player player
Flags —Native
|Action
Sets the point at which attack wave units will gather before being dispatched.
# Arguments
int
— Attackerpoint
— Point
Returns — void
native void AIAttackWaveSetGatherPoint(
int player,
point gather,
);
# Related
Category: AI / AttackWaves / Actions
- [F] —
void
— Add Unit To Attack Wave — ( AIAttackWaveUseUnit ) - [F] —
void
— Add Unit Group To Attack Wave — ( AIAttackWaveUseGroup ) - [F] —
void
— Add Escort Unit To Attack Wave — ( AIAttackWaveAddEscortUnit ) - [F] —
void
— Add Escort UnitType To Attack Wave — ( AIAttackWaveAddEscortType ) - [F] —
void
— Add Attack Wave Waypoint — ( AIAttackWaveAddWaypoint ) - [F] —
void
— Send Attack Wave — ( AIAttackWaveSend ) - [F] —
void
— Cancel Attack Wave — ( AIAttackWaveCancel ) - [F] —
void
— Set Attack Wave Gather Point — ( AIAttackWaveSetGatherPoint ) - [F] —
void
— Set Target Player For Attack Waves — ( AIAttackWaveSetTargetPlayer ) - [F] —
void
— Set Target Unit For Attack Waves — ( AIAttackWaveSetTargetUnit ) - [F] —
void
— Set Target UnitGroup For Attack Waves — ( AIAttackWaveSetTargetUnitGroup ) - [F] —
void
— Set Target UnitArea For Attack Waves — ( AIAttackWaveSetTargetUnitPoint ) - [F] —
void
— Set Target Point For Attack Waves — ( AIAttackWaveSetTargetPoint ) - [F] —
void
— Set Target Merge For Attack Waves — ( AIAttackWaveSetTargetMerge ) - [F] —
void
— Set Target Patrol For Attack Waves — ( AIAttackWaveSetTargetPatrol ) - [F] —
void
— Set Target Escort For Attack Waves — ( AIAttackWaveSetTargetEscort ) - [F] —
void
— Set Target Escort For Attack Waves, No Leashing — ( AIAttackWaveSetTargetEscortNL ) - [F] —
void
— Set Target Gather Defense For Attack Waves — ( AIAttackWaveSetTargetGatherD ) - [F] —
void
— Set Target Gather Offense For Attack Waves — ( AIAttackWaveSetTargetGatherO ) - [F] —
void
— Set Target Melee For Attack Waves — ( AIAttackWaveSetTargetMelee ) - [F] —
void
— Set Target Melee Harass For Attack Waves — ( AIAttackWaveSetTargetMeleeHarass ) - [F] —
void
— Set Target Region For Attack/Defense Waves — ( AIAttackWaveSetTargetRegion ) - [F] —
void
— Add Attack Wave Unit Types (Liberty) — ( AIAttackWaveAddUnits4 ) - [F] —
void
— Add Attack Wave Unit Types (Swarm) — ( AIAttackWaveAddUnits3 ) - [F] —
void
— Set Attack Wave Keep Alive — ( AIAttackWaveSetKeepAlive ) - [F] —
void
— Set Attack Wave Gather Early No Replace — ( AIAttackWaveSetGatherEarlyNoReplace )
# Examples
# campaigns/liberty.sc2campaign
// L717
AIAttackWaveSetGatherPoint(gv_pLAYER_ENEMY, PointFromId(29))
// L824
AIAttackWaveSetGatherPoint(gv_p3_ENEMY_PROTOSS, PointFromId(62))
// L1817
AIAttackWaveSetGatherPoint(gv_p2_ZERG_ORANGE_NW, PointFromId(2714))
// L1818
AIAttackWaveSetGatherPoint(gv_p3_ZERG_LIGHTBLUE_SE, PointFromId(2715))
// L3642
AIAttackWaveSetGatherPoint(gv_p2_ZERG_ORANGE_NW, UnitGetPosition(lv_nydusWorm))
// L384
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(324))
// L389
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(228))
// L395
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(458))
// L399
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(317))
// L403
AIAttackWaveSetGatherPoint(gv_pLAYER_03_INFESTED_REFUGEES, PointFromId(282))
// L375
AIAttackWaveSetGatherPoint(gv_currentWaveAttacker, lp_gatherPoint)
// L975
AIAttackWaveSetGatherPoint(gv_p02_ZERG_EAST, RegionGetCenter(RegionFromId(15)))
// L976
AIAttackWaveSetGatherPoint(gv_p04_ZERG_NORTH, RegionGetCenter(RegionFromId(31)))
// L977
AIAttackWaveSetGatherPoint(gv_p08_ZERG_SOUTH, RegionGetCenter(RegionFromId(32)))
// L3185
AIAttackWaveSetGatherPoint(gv_p02_ZERG_EAST, PointFromId(294))
// L3186
AIAttackWaveSetGatherPoint(gv_p04_ZERG_NORTH, PointFromId(204))
// L3187
AIAttackWaveSetGatherPoint(gv_p08_ZERG_SOUTH, PointFromId(372))
// L486
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PointFromId(1788))
// L501
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PointFromId(1778))
// L517
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PointFromId(1788))
// L4312
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION))
// L4328
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION))
// L4342
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION))
// L4355
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION))
// L4368
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION))
// L4375
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION))
// L4382
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PlayerStartLocation(gv_pLAYER_02_DOMINION))
// L3421
AIAttackWaveSetGatherPoint(gv_p02_ORLAN_ENEMY, PointFromId(269))
// L1411
AIAttackWaveSetGatherPoint(gv_p02_TYCHUS, UnitGetPosition(UnitFromId(2)))
// L1677
AIAttackWaveSetGatherPoint(gv_p02_TYCHUS, UnitGetPosition(UnitFromId(2)))
// L1901
AIAttackWaveSetGatherPoint(gv_p04_DOMINION_INFANTRY_A, PointFromId(134))
// L1902
AIAttackWaveSetGatherPoint(gv_p08_DOMINION_INFANTRY_B, PointFromId(135))
// L1903
AIAttackWaveSetGatherPoint(gv_p05_DOMINION_FACTORY, PointFromId(124))
// L1904
AIAttackWaveSetGatherPoint(gv_p06_DOMINION_STARPORT_A, PointFromId(131))
// L1905
AIAttackWaveSetGatherPoint(gv_p07_DOMINION_STARPORT_B, PointFromId(132))
// L3752
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(808)))
// L3850
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(806)))
// L3996
AIAttackWaveSetGatherPoint(gv_p08_DOMINION, UnitGetPosition(UnitFromId(807)))
// L4079
AIAttackWaveSetGatherPoint(gv_p03_DOMINION_SIEGE, PointFromId(1070))
// L4080
AIAttackWaveSetGatherPoint(gv_p04_DOMINION_AIR, PointFromId(1071))
// L4081
AIAttackWaveSetGatherPoint(gv_p05_DOMINION_RAIDER, PointFromId(1069))
// L5899
AIAttackWaveSetGatherPoint(gv_p11_BRUTALISK, PointFromId(481))
// L9666
AIAttackWaveSetGatherPoint(gv_p09_NEUTRAL_ATTACK, UnitGetPosition(gv_escapeWarbot))
// L9708
AIAttackWaveSetGatherPoint(gv_p04_HYBRID, UnitGetPosition(gv_hybrid))
// L326
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PointFromId(292))
// L2656
AIAttackWaveSetGatherPoint(gv_pLAYER_02_DOMINION, PointFromId(496))
// L2570
AIAttackWaveSetGatherPoint(gv_pLAYER02_ZERG, PointFromId(264))
// L2630
AIAttackWaveSetGatherPoint(gv_pLAYER03_ZERG, PointFromId(261))
// L2713
AIAttackWaveSetGatherPoint(gv_pLAYER04_ZERG, PointFromId(257))
// L809
AIAttackWaveSetGatherPoint(gv_p02_ZERG, PointFromId(106))
// L871
AIAttackWaveSetGatherPoint(gv_p04_ZERG, PointFromId(8))
// L3044
AIAttackWaveSetGatherPoint(gv_p4_PROTOSS_WEST_ESCORTS, PointFromId(272))
// L3066
AIAttackWaveSetGatherPoint(gv_p2_PROTOSS_EAST_ATTACKERS, PointFromId(22))
// L3078
AIAttackWaveSetGatherPoint(gv_p2_PROTOSS_EAST_ATTACKERS, PointFromId(48))
// L3086
AIAttackWaveSetGatherPoint(gv_p2_PROTOSS_EAST_ATTACKERS, PointFromId(22))
// L3096
AIAttackWaveSetGatherPoint(gv_p2_PROTOSS_EAST_ATTACKERS, PointFromId(48))
// L3106
AIAttackWaveSetGatherPoint(gv_p2_PROTOSS_EAST_ATTACKERS, PointFromId(22))
// L3112
AIAttackWaveSetGatherPoint(gv_p2_PROTOSS_EAST_ATTACKERS, PointFromId(48))
// L3123
AIAttackWaveSetGatherPoint(gv_p2_PROTOSS_EAST_ATTACKERS, PointFromId(22))
// L3218
AIAttackWaveSetGatherPoint(gv_p2_RAYNOR_LIGHTBLUE, PointFromId(432))
// L3219
AIAttackWaveSetGatherPoint(gv_p8_ALLIED_PINK, PointFromId(268))
// L3220
AIAttackWaveSetGatherPoint(gv_p9_ALLIED_GREEN, PointFromId(559))
// L3221
AIAttackWaveSetGatherPoint(gv_p11_ALLIED_CELLBLOCK_A, PointFromId(762))
// L3222
AIAttackWaveSetGatherPoint(gv_p12_ALLIED_CELLBLOCK_B, PointFromId(763))
// L3223
AIAttackWaveSetGatherPoint(gv_p3_DOMINION_RED, PointFromId(598))
// L236
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5))
// L2360
AIAttackWaveSetGatherPoint(gv_p2_ZERG, lv_dropSpot)
// L2659
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1923))
// L2672
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1924))
// L2685
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1925))
// L2839
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1922))
// L2895
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(995))
// L2908
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(1922))
// L3321
AIAttackWaveSetGatherPoint(gv_p2_ZERG, RegionGetCenter(RegionFromId(22)))
// L3326
AIAttackWaveSetGatherPoint(gv_p2_ZERG, PointFromId(5))
// L3230
AIAttackWaveSetGatherPoint(gv_p2_NE_PROTOSSMiddle, PointFromId(229))
// L3231
AIAttackWaveSetGatherPoint(gv_p4_SE_PROTOSSRight, PointFromId(232))
// L3232
AIAttackWaveSetGatherPoint(gv_p5_NW_PROTOSSLeft, PointFromId(255))
// L4764
AIAttackWaveSetGatherPoint(gv_p05_ZERG_BASE, PointFromId(326))
// L1688
AIAttackWaveSetGatherPoint(gv_pLAYER02_PROTOSS, PointFromId(123))
// L1780
AIAttackWaveSetGatherPoint(gv_pLAYER03_PROTOSS, PointFromId(322))
// L1814
AIAttackWaveSetGatherPoint(gv_pLAYER04_PROTOSS, PointFromId(262))
// L1187
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(13)))
// L1210
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(14)))
// L1235
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(15)))
// L1261
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(16)))
// L1287
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(17)))
// L1325
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(13)))
// L1365
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(16)))
// L1406
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(17)))
// L1449
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(15)))
// L1489
AIAttackWaveSetGatherPoint(gv_pLAYER_02_ScriptedTOSS, RegionRandomPoint(RegionFromId(14)))
// L4771
AIAttackWaveSetGatherPoint(gv_p02_ZERG_PURPLE_NE, PointFromId(133))
// L4830
AIAttackWaveSetGatherPoint(gv_p05_ZERG_ORANGE_NW, PointFromId(131))
// L4892
AIAttackWaveSetGatherPoint(gv_p06_ZERG_GREEN_SW, PointFromId(31))
// L1221
AIAttackWaveSetGatherPoint(gv_pLAYER_P10_LEVIATHAN, UnitGetPosition(gv_leviathan))
// L4220
AIAttackWaveSetGatherPoint(gv_pLAYER_P03_ZERG_BR, PointFromId(369))
// L4221
AIAttackWaveSetGatherPoint(gv_pLAYER_P04_ZERG_BL, PointFromId(370))
// L4222
AIAttackWaveSetGatherPoint(gv_pLAYER_P05_ZERG_TL, PointFromId(371))
// L4223
AIAttackWaveSetGatherPoint(gv_pLAYER_P06_ZERG_TR, PointFromId(372))