# 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
- 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/ttychus02.sc2map/MapScript.galaxy:3233
AIAttackWaveSetGatherPoint(gv_p4_SE_PROTOSSRight, PointFromId(232));
AIAttackWaveSetGatherPoint(gv_p5_NW_PROTOSSLeft, PointFromId(255));
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle);
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight);
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3234
AIAttackWaveSetGatherPoint(gv_p5_NW_PROTOSSLeft, PointFromId(255));
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle);
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight);
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft);
TriggerExecute(gt_AIAttackWaves, true, false);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:3235
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle);
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight);
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft);
TriggerExecute(gt_AIAttackWaves, true, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:3233
AIAttackWaveSetGatherPoint(gv_p4_SE_PROTOSSRight, PointFromId(232));
AIAttackWaveSetGatherPoint(gv_p5_NW_PROTOSSLeft, PointFromId(255));
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle);
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight);
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:3234
AIAttackWaveSetGatherPoint(gv_p5_NW_PROTOSSLeft, PointFromId(255));
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle);
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight);
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft);
TriggerExecute(gt_AIAttackWaves, true, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:3235
AISetBullyAttackWavePercent(100, gv_p2_NE_PROTOSSMiddle);
AISetBullyAttackWavePercent(100, gv_p4_SE_PROTOSSRight);
AISetBullyAttackWavePercent(100, gv_p5_NW_PROTOSSLeft);
TriggerExecute(gt_AIAttackWaves, true, false);
return true;
campaigns/swarm.sc2campaign — base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map/MapScript.galaxy:4899
AIToggleBulliesInRegion(gv_pLAYER_03_DOMINION_AI, RegionPlayableMap(), true);
AIToggleBulliesInRegion(gv_pLAYER_04_DOMINION_CLEANSERS, RegionPlayableMap(), true);
AISetBullyAttackWavePercent(100, gv_pLAYER_04_DOMINION_CLEANSERS);
return true;
}
campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zhybrid01.sc2map — MapScript.galaxy:4899
AIToggleBulliesInRegion(gv_pLAYER_03_DOMINION_AI, RegionPlayableMap(), true);
AIToggleBulliesInRegion(gv_pLAYER_04_DOMINION_CLEANSERS, RegionPlayableMap(), true);
AISetBullyAttackWavePercent(100, gv_pLAYER_04_DOMINION_CLEANSERS);
return true;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/BaseAI.galaxy:252
AIHarvestRate(player, 1);
AISetNumScouts(player, 0);
AISetBullyAttackWavePercent(AICampaignDiffSelect(player, 100, 100, 50, 0), player);
AIAttackWaveSetGatherPoint(player, AIGetGatherLocation(player, c_townMain));
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/BaseAI.galaxy:296
AISetNumScouts(player, 0);
//AISetBullyAttackWavePercent(AICampaignDiffSelect(player, 100, 100, 50, 0, 0, 0), player);
AISetBullyAttackWavePercent(0, player);
AIAttackWaveSetGatherPoint(player, AIGetGatherLocation(player, c_townMain));