# Init Melee AI

Grammar — Initialize the AI for player player
FlagsNative | Action

Initializes the melee AI for a specific player. Calling Start Melee AI For All Players will call this action for each computer player.

# Arguments

  • int — Player

Returns — void

void AIMeleeStart(int player);

Category: AI Advanced / Utility / Actions

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L12407
AIMeleeStart(2)