# AITactCooldownAllow

FlagsNative

# Arguments

  • unit — u
  • int — timerIdx

Returns — bool

native bool AITactCooldownAllow(unit u, int timerIdx);

Category: Unclassified

# Examples

# campaigns/liberty.sc2campaign

TactCampAI.galaxy

// L163
AITactCooldownAllow(aiUnit, c_mineCooldown)
// L260
AITactCooldownAllow(aiUnit, c_lokiMissilesCooldown)
// L270
AITactCooldownAllow(aiUnit, c_lokiYamatoCooldown)
// L163
AITactCooldownAllow(aiUnit, c_mineCooldown)
// L260
AITactCooldownAllow(aiUnit, c_lokiMissilesCooldown)
// L270
AITactCooldownAllow(aiUnit, c_lokiYamatoCooldown)
// L163
AITactCooldownAllow(aiUnit, c_mineCooldown)
// L832
AITactCooldownAllow(aiUnit, c_EnsnareCooldown)

# mods/core.sc2mod

TactProtAI.galaxy

// L551
AITactCooldownAllow(aiUnit, c_timeWarpCooldown)
// L875
AITactCooldownAllow(aiUnit, c_psiStormCooldown)
// L1297
AITactCooldownAllow(aiUnit, c_oracleRevelationCooldown)

# mods/core.sc2mod

TactTerrAI.galaxy

// L197
AITactCooldownAllow(aiUnit, c_snipeCooldown)
// L252
AITactCooldownAllow(aiUnit, c_snipeCooldown)
// L425
AITactCooldownAllow(aiUnit, c_yamatoCooldown)
// L1220
AITactCooldownAllow(aiUnit, c_hsMissileCooldown)
// L1319
AITactCooldownAllow(aiUnit, c_autoTurretCooldown)
// L1337
AITactCooldownAllow(aiUnit, c_hsMissileCooldown)

# mods/core.sc2mod

TactZergAI.galaxy

// L522
AITactCooldownAllow(aiUnit, c_fungalGrowthCooldown)
// L572
AITactCooldownAllow(aiUnit, c_infestedTerransCooldown)

# mods/starcoop/starcoop.sc2mod

TactCampAI.galaxy

// L65
AITactCooldownAllow(aiUnit, c_DarkSwarmCooldown)
// L208
AITactCooldownAllow(aiUnit, c_EnsnareCooldown)
// L259
AITactCooldownAllow(aiUnit, c_SpawnBroodlingsCooldown)
// L513
AITactCooldownAllow(aiUnit, c_mineCooldown)
// L616
AITactCooldownAllow(aiUnit, c_lokiMissilesCooldown)
// L626
AITactCooldownAllow(aiUnit, c_lokiYamatoCooldown)
// L1327
AITactCooldownAllow(aiUnit, c_HybridGravitonPrison)
// L1422
AITactCooldownAllow(aiUnit, c_HybridPhaseShift)
// L1639
AITactCooldownAllow(aiUnit, c_scienceVesselDMatrixCooldown)
// L1674
AITactCooldownAllow(aiUnit, c_scienceVesselIrradiateCooldown)

# mods/starcoop/starcoop.sc2mod

TactProtAI.galaxy

// L852
AITactCooldownAllow(aiUnit, c_psiStormCooldown)

# mods/starcoop/starcoop.sc2mod

TactTerrAI.galaxy

// L199
AITactCooldownAllow(aiUnit, c_snipeCooldown)
// L244
AITactCooldownAllow(aiUnit, c_snipeCooldown)
// L407
AITactCooldownAllow(aiUnit, c_yamatoCooldown)
// L1192
AITactCooldownAllow(aiUnit, c_hsMissileCooldown)
// L1291
AITactCooldownAllow(aiUnit, c_autoTurretCooldown)
// L1309
AITactCooldownAllow(aiUnit, c_hsMissileCooldown)

# mods/starcoop/starcoop.sc2mod

TactZergAI.galaxy

// L507
AITactCooldownAllow(aiUnit, c_ParasiticBombCoolDown)
// L526
AITactCooldownAllow(aiUnit, c_DisablingCloudCoolDown)
// L544
AITactCooldownAllow(aiUnit, c_AbductCoolDown)
// L563
AITactCooldownAllow(aiUnit, c_ViperConsumptionCoolDown)
// L733
AITactCooldownAllow(aiUnit, c_fungalGrowthCooldown)
// L783
AITactCooldownAllow(aiUnit, c_infestedTerransCooldown)