Triggers/Actions/Set Rebuild Count (Specific)

From SC2Mapster Wiki
Jump to: navigation, search

AI Actions

Set Rebuild Count (Specific)

GUI

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

Galaxy Code

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

Description

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

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

Additional Information