Triggers/Actions/Default Economy

From SC2Mapster Wiki
Jump to: navigation, search

AI Advanced-Actions

Default Economy

GUI

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 )

Description

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

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