Triggers/Actions/Default Expansion

From SC2Mapster Wiki
Jump to: navigation, search

AI Advanced-Actions

Default Expansion

GUI

void AIDefaultExpansion (int player, gamelink townHall, int minerals, int gas, int flags )

Galaxy Code

Description

Attempts to make the specified player expand. There are certain conditions under which the AI will not expand, such as if the player does not have enough workers. The Minerals and Gas parameters are thresholds that the player must be under in order to expand (unless the player has too many extra workers).

Parameters

  • int player
    • Name: Player
  • gamelink townHall
    • Name: TownHall
    • GameType: Unit
  • int minerals
    • Name: Minerals
  • int gas
    • Name: Gas
  • int flags
    • Name: Flags