# Set Bully Rebuild Delay

Grammar — Adds a random delay, between__minDelay__ and maxDelay, before the AI tries to rebuild bullies for player.
FlagsNative | Action

Sets the delay time before the AI starts trying to replace missing bullies for a player.

# Arguments

  • fixed — MinDelay
  • fixed — MaxDelay
  • int — Player

Returns — void

native void AISetBullyRebuildDelay(
	fixed minDelay,
	fixed maxDelay,
	int player,
);

Category: AI / Bullies / Actions

# Examples

mods/novastoryassets.sc2modbase2.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.sc2modbase2.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.sc2modbase2.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.sc2modbase2.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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));