Triggers/Actions/Default Expansion

From SC2Mapster Wiki
Jump to: navigation, search

AI Advanced-Actions[edit | edit source]

Default Expansion[edit | edit source]

GUI[edit | edit source]

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

Galaxy Code[edit | edit source]

Description[edit | edit source]

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[edit | edit source]

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