# Init Campaign Towns

Grammar — Initialize campaign towns for player player
FlagsNative | Action

Initializes the towns for an AI player. This happens automatically when you call one of the Start Campaign AI actions.

# Arguments

  • int — Player

Returns — void

native void AIInitCampaignTowns(int player);

Category: AI / MiscCampaign / Actions

# Examples

# mods/core.sc2mod

BaseAI.galaxy

// L247
AIInitCampaignTowns(player)
// L290
AIInitCampaignTowns(player)