# Enable Harvesting

Grammar — Start a new harvest job at town town|town for player player|player.
FlagsNative | Action

Start a new harvest job at a town for a player.

# Arguments

  • int — Player
  • int — Town

Returns — void

native void AIHarvest(int player, int town);

Category: AI Advanced / Towns / Actions

# Examples

# mods/core.sc2mod

BaseAI.galaxy

// L163
AIHarvest(player, c_townOne)
// L198
AIHarvest(player, c_townOne)