# Set Rebuild Count (Default)
Grammar — Set the general rebuild count for player player building|Buildings Or Units to count
Flags —Native
|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
— Countbool
<preset::BuildingOrUnit> — Building Or Unitint
— Player
Returns — void
native void AISetGeneralRebuildCount(
int count,
bool building,
int player,
);
# Related
Category: AI / Bullies / Actions
- Remove All Bullies —
void
— AIClearAllBullies - Add New Bully —
void
— AIAddBully - Set Minimum Bully Count —
void
— AISetMinimumBullyCount - Set Rebuild Count (Default) —
void
— AISetGeneralRebuildCount - Set Rebuild Count (Specific) —
void
— AISetSpecificRebuildCount - Set Attack Wave Bully Percent —
void
— AISetBullyAttackWavePercent - Set Bully Rebuild Delay —
void
— AISetBullyRebuildDelay - Limit Bully Rebuild To Nearest Town —
void
— AINearestTownBullyRebuild - Limit Bully Wave Gather To Nearest Town —
void
— AINearestTownLimitWaveGather - Activate/Deactivate Bullies In Region —
void
— AIToggleBulliesInRegion - Reset Bully Rebuild Counts In Region —
void
— AIResetBullyRebuildCountsInRegion
# Examples
— None found —