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/Set Rebuild Count (Specific)

From SC2Mapster Wiki
Jump to: navigation, search

AI Actions

Set Rebuild Count (Specific)


AI - Set the rebuild count for player player unitType to count

Galaxy Code

void AISetSpecificRebuildCount ( int count, gamelink unitType, int player )


Sets the maximum number of a specific unit an AI player should rebuild. This only applies to preplaced units or buildings that do not have an individual rebuild count set.


  • int count
    • Name: Count
    • Limits:0,N
  • gamelink unitType
    • Name: unitType
    • GameType: [Types/unit|Unit]]
  • int player
    • Name: Player
    • Limits: 0,15

Additional Information