# 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
- [F] —
void
— Remove All Bullies — ( AIClearAllBullies ) - [F] —
void
— Add New Bully — ( AIAddBully ) - [F] —
void
— Set Minimum Bully Count — ( AISetMinimumBullyCount ) - [F] —
void
— Set Rebuild Count (Default) — ( AISetGeneralRebuildCount ) - [F] —
void
— Set Rebuild Count (Specific) — ( AISetSpecificRebuildCount ) - [F] —
void
— Set Attack Wave Bully Percent — ( AISetBullyAttackWavePercent ) - [F] —
void
— Set Bully Rebuild Delay — ( AISetBullyRebuildDelay ) - [F] —
void
— Limit Bully Rebuild To Nearest Town — ( AINearestTownBullyRebuild ) - [F] —
void
— Limit Bully Wave Gather To Nearest Town — ( AINearestTownLimitWaveGather ) - [F] —
void
— Activate/Deactivate Bullies In Region — ( AIToggleBulliesInRegion ) - [F] —
void
— Reset Bully Rebuild Counts In Region — ( AIResetBullyRebuildCountsInRegion )
# Examples
— None found —