# Pause/Unpause All Cooldowns For Game

Grammarpause|Pause/Unpause all cooldowns for game
FlagsNative | Action

Pauses or unpauses all cooldowns in the game.

# Arguments

Returns — void

native void GamePauseAllCooldowns(bool inPaused);

Category: Game / Charges And Cooldowns

# Examples

campaigns/liberty.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2campaignbase.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2mapMapScript.galaxy:1391


    GamePauseAllCharges(false);
    GamePauseAllCooldowns(false);
    auto8992C0F7_g = gv_protossPlayerGroup;
    auto8992C0F7_var = -1;