# Set Rebuild Count (Specific)

Grammar — Set the rebuild count for player player unitType to count
FlagsNative | Action

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.

# Arguments

  • int — Count
  • string<gamelink::Unit> — Unit Type
  • int — Player

Returns — void

native void AISetSpecificRebuildCount(
	int count,
	string unitType,
	int player,
);

Category: AI / Bullies / Actions

# Examples

— None found —