# Set Rebuild Count (Default)

Grammar — Set the general rebuild count for player player building|Buildings Or Units to count
FlagsNative | Action

Sets the maximum number of units or maximum number of buildings 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
  • bool<preset::BuildingOrUnit> — Building Or Unit
  • int — Player

Returns — void

native void AISetGeneralRebuildCount(
	int count,
	bool building,
	int player,
);

Category: AI / Bullies / Actions

# Examples

— None found —