# Get Offense Gather Location

Grammar — Get the default offensive gather location for town town of player player
FlagsNative | Function

Returns the default offensive gather location for a town of a player.

# Arguments

  • int — Player
  • int — Town

Returns — point

native point AIGetGatherLocation(int player, int town);

Category: AI Advanced / Towns / Functions

# Examples

# mods/core.sc2mod

BaseAI.galaxy

// L254
AIGetGatherLocation(player, c_townMain)

# mods/core.sc2mod

MeleeAI.galaxy

// L256
AIGetGatherLocation(player, c_townMain)

# mods/core.sc2mod

MeleeWaveAI.galaxy

// L495
AIGetGatherLocation(player, c_townMain)

# mods/core.sc2mod

TactProtAI.galaxy

// L624
AIGetGatherLocation(player, c_townMain)

# mods/starcoop/starcoop.sc2mod

BaseAI.galaxy

// L298
AIGetGatherLocation(player, c_townMain)

# mods/starcoop/starcoop.sc2mod

MeleeAI.galaxy

// L256
AIGetGatherLocation(player, c_townMain)

# mods/starcoop/starcoop.sc2mod

TactProtAI.galaxy

// L603
AIGetGatherLocation(player, c_townMain)

# mods/warcoop/warmeleeai.sc2mod

MeleeWaveAI.galaxy

// L585
AIGetGatherLocation(player, c_townMain)