# Set Attack Wave Bully Percent
Grammar — Allow percent% of bullies to be used for attack waves for player player
Flags —Native
|Action
Sets the percentage of bullies that are allowed to be used for attack waves for a player.
# Arguments
int
— Percentint
— Player
Returns — void
native void AISetBullyAttackWavePercent(
int percent,
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
# campaigns/liberty.sc2campaign
// L3233
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle)
// L3234
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight)
// L3235
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft)
// L3233
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle)
// L3234
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight)
// L3235
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft)
// L4899
AISetBullyAttackWavePercent(100, gv_pLAYER_04_DOMINION_CLEANSERS)
// L4899
AISetBullyAttackWavePercent(100, gv_pLAYER_04_DOMINION_CLEANSERS)
# mods/core.sc2mod
// L252
AISetBullyAttackWavePercent(AICampaignDiffSelect(player, 100, 100, 50, 0), player)
// L296
AISetBullyAttackWavePercent(0, player)