# Remove All Bullies
Grammar — Removes all bullies for player player.
Flags —Native
|Action
Removes the bully flag from all units owned by a player.
# Arguments
int
— Player
Returns — void
native void AIClearAllBullies(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
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tvalerian02b.sc2map/MapScript.galaxy:4214
AICampaignStart(gv_pLAYER_P07_ZERG_EXP);
AICampaignStart(gv_pLAYER_P10_LEVIATHAN);
AIClearAllBullies(gv_pLAYER_P06_ZERG_TR);
AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tvalerian02b.sc2map — MapScript.galaxy:4214
AICampaignStart(gv_pLAYER_P07_ZERG_EXP);
AICampaignStart(gv_pLAYER_P10_LEVIATHAN);
AIClearAllBullies(gv_pLAYER_P06_ZERG_TR);
AINearestTownBullyRebuild(gv_pLAYER_P07_ZERG_EXP, true);
AIAttackWaveSetTargetPlayer(gv_pLAYER_P03_ZERG_BR, PlayerGroupSingle(gv_pLAYER_P01_USER));