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!


From SC2Mapster Wiki
Jump to: navigation, search

AI Advanced-Actions



AI Advanced - Build count|Number units of type unitType|Building in player player 's town town with priority priority using build flags flags|Build Flags

Galaxy Code

void AIBuild ( int player, int priority, int town, gamelink unitType, int count, int flags )


Instructs the AI to build some buildings of the specified type.


  • int player
    • Name: Player
  • int priority
    • Name: Priority
  • int town
    • Name: Town
  • gamelink unitType
    • Name: Unit Type
    • GameType: Unit
  • int count
    • Name: Count
  • int flags
    • Name: Flags