# Set Attack Wave Bully Percent

Grammar — Allow percent% of bullies to be used for attack waves for player player
FlagsNative | Action

Sets the percentage of bullies that are allowed to be used for attack waves for a player.

# Arguments

  • int — Percent
  • int — Player

Returns — void

native void AISetBullyAttackWavePercent(
	int percent,
	int player,
);

Category: AI / Bullies / Actions

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L3184
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle)
// L3185
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight)
// L3186
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft)
// L3184
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle)
// L3185
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight)
// L3186
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

BaseAI.galaxy

// L252
AISetBullyAttackWavePercent(AICampaignDiffSelect(player, 100, 100, 50, 0), player)
// L296
AISetBullyAttackWavePercent(0, player)