Hello there! We are conducting a survey to better understand the user experience in making a first edit. If you have ever made an edit on Gamepedia, please fill out the survey. Thank you!

Triggers/Actions/Default Expansion

From SC2Mapster Wiki
Jump to: navigation, search

AI Advanced-Actions

Default Expansion


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

Galaxy Code


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).


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