# Get Defense Gather Location

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

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

# Arguments

  • int — Player
  • int — Town

Returns — point

native point AIGetGatherDefLocation(int player, int town);

Category: AI Advanced / Towns / Functions

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L3205
AIGetGatherDefLocation(lp_player, -1)