# Set Rebuild Count (Specific)
Grammar — Set the rebuild count for player player unitType to count
Flags —Native
|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
— Countstring
<gamelink::Unit> — Unit Typeint
— Player
Returns — void
native void AISetSpecificRebuildCount(
int count,
string unitType,
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 —