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 Economy

From SC2Mapster Wiki
Jump to: navigation, search

AI Advanced-Actions

Default Economy


AI Advanced - Default Economy( player , townHall , refinery , food , peon , cap , mineralsDiv , gasDiv , peonMode|PeonMode )

Galaxy Code

void AIDefaultEconomy ( int player, gamelink townHall, gamelink refinery, string food, string peon, int cap, int mineralsDiv, int gasDiv, bool peonMode )


Sets stock for a player's economic buildings and units based on the specified parameters.


  • int player
    • Name: Player
  • gamelink townHall
    • Name: TownHall
    • GameType: Unit
  • gamelink refinery
    • Name: Refinery
    • GameType: Unit
  • string food
    • Name: Food
  • string peon
    • Name: Peon
  • int cap
    • Name: Cap
  • int mineralsDiv
    • Name: Minerals Div
  • int gasDiv
    • Name: Gas Div
  • bool peonMode
    • Name: peonMode