# AICastCooldown
Flags —
Native
# Arguments
unit
— uorder
— omarker
— mbool
— retreatint
— timerIdxfixed
— cooldown
Returns — int
native int AICastCooldown(
unit u,
order o,
marker m,
bool retreat,
int timerIdx,
fixed cooldown,
);
# Related
Category: Unclassified
# Examples
campaigns/liberty.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:185
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_mineCooldown, cooldown);
}
campaigns/liberty.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:289
cooldown = 5.0;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_lokiYamatoCooldown, cooldown);
return;
}
campaigns/swarm.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:185
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_mineCooldown, cooldown);
}
campaigns/swarm.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:289
cooldown = 5.0;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_lokiYamatoCooldown, cooldown);
return;
}
campaigns/void.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:185
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_mineCooldown, cooldown);
}
campaigns/void.sc2campaign — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:960
cooldown = 0.0;
}
AICastCooldown(aiUnit, ord, mark, c_castRetreat, c_EnsnareCooldown, cooldown);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactProtAI.galaxy:660
ord = CoreTimeWarp(player, aiUnit, scanGroup);
if (ord != null) {
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_timeWarpCooldown, 5);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactProtAI.galaxy:721
ord = CoreTimeWarp(player, aiUnit, scanGroup);
if (ord != null) {
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_timeWarpCooldown, 5);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactProtAI.galaxy:1353
ord = OracleRevelation(player, aiUnit, scanGroup);
if (ord != null) {
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_oracleRevelationCooldown, 5.0);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:332
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_snipeCooldown, cooldown);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:349
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_snipeCooldown, cooldown);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:594
cooldown = 0.0;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_yamatoCooldown, cooldown);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1382
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castRetreat, c_autoTurretCooldown, cooldown);
return true;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1427
cooldown = 2.0;
}
AICastCooldown(aiUnit, ord, mark, c_castRetreat, c_hsMissileCooldown, cooldown);
AISetCooldown(aiUnit, c_autoTurretCooldown, sharedCoolDown);
return;
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:704
cooldown = 0.0;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_fungalGrowthCooldown, cooldown);
return;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:729
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castRetreat, c_infestedTerransCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:127
cooldown = 2.0;
}
AICastCooldown(aiUnit, ord, mark, c_castRetreat, c_DarkSwarmCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:316
cooldown = 0.0;
}
AICastCooldown(aiUnit, ord, mark, c_castRetreat, c_SpawnBroodlingsCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:336
cooldown = 0.0;
}
AICastCooldown(aiUnit, ord, mark, c_castRetreat, c_EnsnareCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:535
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_mineCooldown, cooldown);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:645
cooldown = 5.0;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_lokiYamatoCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:1344
cooldown = 5.0;
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_HybridGravitonPrison, cooldown);
return;
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:1439
cooldown = 30.0;
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_HybridPhaseShift, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:1722
cooldown = 25.0;
}
AICastCooldown(aiUnit, ord, mark, c_castRetreat, c_scienceVesselDMatrixCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactCampAI.galaxy:1735
cooldown = 15.0;
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castRetreat, c_scienceVesselIrradiateCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:316
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_snipeCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:331
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_snipeCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:572
cooldown = 0.0;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_yamatoCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1352
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castRetreat, c_autoTurretCooldown, cooldown);
return true;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactTerrAI.galaxy:1380
cooldown = 2.0;
}
AICastCooldown(aiUnit, ord, mark, c_castRetreat, c_hsMissileCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:518
cooldown = ParasiticBombCooldown_Brutal;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_ParasiticBombCoolDown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:536
cooldown = DisablingCloudCoolDown_Brutal;
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_DisablingCloudCoolDown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:555
cooldown = AbductCoolDown_Brutal;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_AbductCoolDown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:573
cooldown = ViperConsumptionCoolDown_Brutal;
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castHold, c_ViperConsumptionCoolDown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:916
cooldown = 5.0;
}
AICastCooldown(aiUnit, ord, mark, c_castHold, c_fungalGrowthCooldown, cooldown);
return;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/Tactical/TactZergAI.galaxy:942
}
AICastCooldown(aiUnit, ord, c_noMarker, c_castRetreat, c_infestedTerransCooldown, cooldown);
return;
}