# Pause/Unpause All Charges For Game

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

Pauses or unpauses regen for all charges in the game.

# Arguments

Returns — void

native void GamePauseAllCharges(bool inPaused);

Category: Game / Charges And Cooldowns

# Examples

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1244


    gv_missionStage1 = true;
    GamePauseAllCharges(true);
    GamePauseAllCooldowns(true);
    TriggerExecute(gt_SCVBuildsSupplyDepot, true, false);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/thorner04.sc2map/MapScript.galaxy:1302


    UIAlertClear(gv_p01_USER);
    GamePauseAllCharges(false);
    GamePauseAllCooldowns(false);
    gv_missionStage1 = false;

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:707

    libNtve_gf_SwooshCamera(gv_p1_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), PlayerStartLocation(gv_p1_USER), 1.5);
    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);

campaigns/liberty.sc2campaignbase.sc2maps/maps/campaign/ttychus02.sc2map/MapScript.galaxy:1390

    }

    GamePauseAllCharges(false);
    GamePauseAllCooldowns(false);
    auto8992C0F7_g = gv_protossPlayerGroup;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:1244


    gv_missionStage1 = true;
    GamePauseAllCharges(true);
    GamePauseAllCooldowns(true);
    TriggerExecute(gt_SCVBuildsSupplyDepot, true, false);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/thorner04.sc2mapMapScript.galaxy:1302


    UIAlertClear(gv_p01_USER);
    GamePauseAllCharges(false);
    GamePauseAllCooldowns(false);
    gv_missionStage1 = false;

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2mapMapScript.galaxy:707

    libNtve_gf_SwooshCamera(gv_p1_USER, ((CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance)) + 8.0), CameraInfoGetValue(CameraInfoDefault(), c_cameraValueDistance), PlayerStartLocation(gv_p1_USER), 1.5);
    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);

campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/ttychus02.sc2mapMapScript.galaxy:1390

    }

    GamePauseAllCharges(false);
    GamePauseAllCooldowns(false);
    auto8992C0F7_g = gv_protossPlayerGroup;

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2147

        GameSetSpeedLocked(true);
        GameSetSeedLocked(lp_fixedSeedOnOff);
        GamePauseAllCharges(true);
        VisEnable(c_visTypeMask, false);
        VisEnable(c_visTypeFog, false);

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2162

        GameSetSpeedLocked(false);
        GameSetSeedLocked(false);
        GamePauseAllCharges(false);
        VisEnable(c_visTypeMask, true);
        VisEnable(c_visTypeFog, true);

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1831

        GameSetSpeedLocked(true);
        GameSetSeedLocked(true);
        GamePauseAllCharges(true);
        VisEnable(c_visTypeMask, false);
        VisEnable(c_visTypeFog, false);

mods/core.stormmodbase.stormdata/TriggerLibs/NativeLib.galaxy:1846

        GameSetSpeedLocked(false);
        GameSetSeedLocked(false);
        GamePauseAllCharges(false);
        VisEnable(c_visTypeMask, true);
        VisEnable(c_visTypeFog, true);