Triggers/Actions/Set Rebuild Count (Specific)

From SC2Mapster Wiki
Jump to: navigation, search

AI Actions[edit | edit source]

Set Rebuild Count (Specific)[edit | edit source]

GUI[edit | edit source]

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

Galaxy Code[edit | edit source]

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

Description[edit | edit source]

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.

Parameters[edit | edit source]

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

Additional Information[edit | edit source]