# Enable Harvesting
Grammar — Start a new harvest job at town town|town for player player|player.
Flags —Native
|Action
Start a new harvest job at a town for a player.
# Arguments
int
— Playerint
— Town
Returns — void
native void AIHarvest(int player, int town);
# Related
Category: AI Advanced / Towns / Actions
- [F] —
void
— Declare Next Town — ( libNtve_gf_DeclareNextTown ) - [F] —
void
— Declare Town Specific Slot — ( AIDeclareTown ) - [F] —
void
— Set Main Town — ( AISetMainTown ) - [F] —
void
— Enable Harvesting — ( AIHarvest ) - [F] —
void
— Set Harvest Rate — ( AIHarvestRate ) - [F] —
void
— Set Gas Peon Count Override — ( AISetGasPeonCountOverride )
# Examples
# mods/core.sc2mod
// L163
AIHarvest(player, c_townOne)
// L198
AIHarvest(player, c_townOne)