# Set Bully Rebuild Delay
Grammar — Adds a random delay, between__minDelay__ and maxDelay, before the AI tries to rebuild bullies for player.
Flags —Native
|Action
Sets the delay time before the AI starts trying to replace missing bullies for a player.
# Arguments
fixed
— MinDelayfixed
— MaxDelayint
— Player
Returns — void
native void AISetBullyRebuildDelay(
fixed minDelay,
fixed maxDelay,
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
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:5062
libNtve_gf_SetTacticalAIThink(gv_pLAYER_07_ZERG, "SporeCrawlerUprooted", "AISporeCrawler", false);
AINearestTownBullyRebuild(gv_pLAYER_05_TALDARIM, true);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_06_ZERG);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_07_ZERG);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova04.sc2map/MapScript.galaxy:5063
AINearestTownBullyRebuild(gv_pLAYER_05_TALDARIM, true);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_06_ZERG);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_07_ZERG);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
TriggerExecute(gt_AIUpgradeCasualNormal, true, false);
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:8217
libNtve_gf_SetTacticalAIThink(gv_pLAYER_02_PROTOSS_BULLIES, "Oracle", "AIOracle", false);
libNtve_gf_SetTacticalAIThink(gv_pLAYER_04_PROTOSS_WAVES, "Oracle", "AIOracle", false);
AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS);
AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, true);
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(87));
mods/novastoryassets.sc2mod — base2.sc2maps/maps/campaign/nova/nova05.sc2map/MapScript.galaxy:8227
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(106));
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(109));
AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_05_INFESTED_FIGHTPROTOSS);
AINearestTownBullyRebuild(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, true);
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, RegionFromId(107));
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:5062
libNtve_gf_SetTacticalAIThink(gv_pLAYER_07_ZERG, "SporeCrawlerUprooted", "AISporeCrawler", false);
AINearestTownBullyRebuild(gv_pLAYER_05_TALDARIM, true);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_06_ZERG);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_07_ZERG);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova04.sc2map — MapScript.galaxy:5063
AINearestTownBullyRebuild(gv_pLAYER_05_TALDARIM, true);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_06_ZERG);
AISetBullyRebuildDelay(libLotv_gf_DifficultyValueFixed2(30.0, 30.0, 15.0, 5.0), libLotv_gf_DifficultyValueFixed2(40.0, 40.0, 20.0, 10.0), gv_pLAYER_07_ZERG);
if ((libNtve_gf_DifficultyValueInt(1, 1, 0, 0) == 1)) {
TriggerExecute(gt_AIUpgradeCasualNormal, true, false);
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:8217
libNtve_gf_SetTacticalAIThink(gv_pLAYER_02_PROTOSS_BULLIES, "Oracle", "AIOracle", false);
libNtve_gf_SetTacticalAIThink(gv_pLAYER_04_PROTOSS_WAVES, "Oracle", "AIOracle", false);
AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS);
AINearestTownBullyRebuild(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, true);
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(87));
mods/novastoryassets.sc2mod/base2.sc2maps/maps/campaign/nova/nova05.sc2map — MapScript.galaxy:8227
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(106));
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_03_INFESTED_NOFIGHTPROTOSS, RegionFromId(109));
AISetBullyRebuildDelay(5.0, 10.0, gv_pLAYER_05_INFESTED_FIGHTPROTOSS);
AINearestTownBullyRebuild(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, true);
gf_AIMonitorBullyRebuildRegion(gv_pLAYER_05_INFESTED_FIGHTPROTOSS, RegionFromId(107));