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/Build

From SC2Mapster Wiki
Jump to: navigation, search

AI Advanced-Actions

Build

GUI

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 )

Description

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

Parameters

  • 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