# Pause/Unpause All Cooldowns For Game
Grammar — pause|Pause/Unpause all cooldowns for game
Flags —Native
|Action
Pauses or unpauses all cooldowns in the game.
# Arguments
bool
<preset::PauseUnpauseOption> — Pause
Returns — void
native void GamePauseAllCooldowns(bool inPaused);
# Related
Category: Game / Charges And Cooldowns
- Add Charge Remaining Regen Time For Game —
void
— GameAddChargeRegenRemaining - Add Charge Full Regen Time For Game —
void
— GameAddChargeRegenFull - Add Charge Used For Game —
void
— GameAddChargeUsed - Remove Charge Used For Game —
void
— libNtve_gf_GameRemoveChargeUsed - Charge Regen Remaining For Game —
fixed
— GameGetChargeRegen - Charge Regen Full For Game —
fixed
— GameGetChargeRegenFull - Game Charge Used —
fixed
— GameGetChargeUsed - Pause/Unpause All Charges For Game —
void
— GamePauseAllCharges - Add Cooldown For Game —
void
— GameAddCooldown - Remove Cooldown For Game —
void
— libNtve_gf_GameRemoveCooldown - Game Cooldown —
fixed
— GameGetCooldown - Pause/Unpause All Cooldowns For Game —
void
— GamePauseAllCooldowns
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1245
gv_missionStage1 = true;
GamePauseAllCharges(true);
GamePauseAllCooldowns(true);
TriggerExecute(gt_SCVBuildsSupplyDepot, true, false);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1303
UIAlertClear(gv_p01_USER);
GamePauseAllCharges(false);
GamePauseAllCooldowns(false);
gv_missionStage1 = false;
TriggerEnable(gt_DefeatBaseDead, true);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:708
CinematicFade(true, 1.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
GamePauseAllCharges(true);
GamePauseAllCooldowns(true);
TriggerExecute(gt_StartGameTacticalPhase, true, false);
return true;
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1391
GamePauseAllCharges(false);
GamePauseAllCooldowns(false);
auto8992C0F7_g = gv_protossPlayerGroup;
auto8992C0F7_var = -1;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:1245
gv_missionStage1 = true;
GamePauseAllCharges(true);
GamePauseAllCooldowns(true);
TriggerExecute(gt_SCVBuildsSupplyDepot, true, false);
Wait(2.0, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2map — MapScript.galaxy:1303
UIAlertClear(gv_p01_USER);
GamePauseAllCharges(false);
GamePauseAllCooldowns(false);
gv_missionStage1 = false;
TriggerEnable(gt_DefeatBaseDead, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:708
CinematicFade(true, 1.5, c_fadeStyleNormal, ColorWithAlpha(0.00, 0.00, 0.00, 0.00), 0.0, true);
GamePauseAllCharges(true);
GamePauseAllCooldowns(true);
TriggerExecute(gt_StartGameTacticalPhase, true, false);
return true;
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2map — MapScript.galaxy:1391
GamePauseAllCharges(false);
GamePauseAllCooldowns(false);
auto8992C0F7_g = gv_protossPlayerGroup;
auto8992C0F7_var = -1;