# Wave Target Gather Offense

Grammar — Create a new wave target set to gather at the offensive gather point of town town for player player
FlagsNative | Function

Creates a new wave target set to gather at the offensive gather point of the specified town. Returns the wave target.

# Arguments

  • int — Player
  • int — Town

Returns — wavetarget

native wavetarget AIWaveTargetGatherO(
	int player,
	int town,
);

Category: AI Advanced / Waves / Functions

# Examples

# mods/warcoop/warmeleeai.sc2mod

MeleeWaveAI.galaxy

// L279
AIWaveTargetGatherO(player, c_townMain)
// L609
AIWaveTargetGatherO(player, c_townMain)
// L746
AIWaveTargetGatherO(player, c_townMain)
// L814
AIWaveTargetGatherO(player, c_townMain)
// L823
AIWaveTargetGatherO(player, c_townMain)
// L832
AIWaveTargetGatherO(player, c_townMain)
// L884
AIWaveTargetGatherO(player, c_townMain)