# Pause Mission Time

Grammarpaused mission time
FlagsNative | Action

Pauses or unpauses Mission Time

# Arguments

Returns — void

native void GameSetMissionTimePaused(bool inPaused);

Category: Game / Game Settings

# Examples

campaigns/swarm.sc2campaignbase.sc2maps/maps/campaign/swarm/zlab01.sc2map/MapScript.galaxy:1095

    TriggerExecute(gt_Init07Help, true, true);
    libSwaC_gf_PurchaseStorymodeTech();
    GameSetMissionTimePaused(true);
    TriggerExecute(gt_CampaignIntroQ, true, false);
    TriggerExecute(gt_IntroQ, true, false);

campaigns/swarm.sc2campaign/base.sc2maps/maps/campaign/swarm/zlab01.sc2mapMapScript.galaxy:1095

    TriggerExecute(gt_Init07Help, true, true);
    libSwaC_gf_PurchaseStorymodeTech();
    GameSetMissionTimePaused(true);
    TriggerExecute(gt_CampaignIntroQ, true, false);
    TriggerExecute(gt_IntroQ, true, false);

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignLib.galaxy:8250

    // Automatic Variable Declarations
    // Implementation
    GameSetMissionTimePaused(lp_pauseUnpause);
    libVoiC_gv_pC_TimeMissionPaused = lp_pauseUnpause;
}

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

        VisEnable(c_visTypeMask, false);
        VisEnable(c_visTypeFog, false);
        GameSetMissionTimePaused(true);
        libNtve_gf__CineModeStoreCheatStatus();
        GameCheatAllow(c_gameCheatAny, false);

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

        VisEnable(c_visTypeMask, true);
        VisEnable(c_visTypeFog, true);
        GameSetMissionTimePaused(false);
        libNtve_gf__CineModeRestoreCheatStatus();
    }

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

        VisEnable(c_visTypeMask, false);
        VisEnable(c_visTypeFog, false);
        GameSetMissionTimePaused(true);
        libNtve_gf__CineModeStoreCheatStatus();
        GameCheatAllow(c_gameCheatAny, false);

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

        VisEnable(c_visTypeMask, true);
        VisEnable(c_visTypeFog, true);
        GameSetMissionTimePaused(false);
        libNtve_gf__CineModeRestoreCheatStatus();
    }

mods/heroes.stormmodbase.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap/MapScript.galaxy:9567

    gf_SetPlayableWithLooseCameraBounds(RegionFromId(63));
    GameTimeOfDayPause(true);
    GameSetMissionTimePaused(false);
    gv_cinematicHiddenUnits = UnitGroupEmpty();
    gv_cinematicTempUnits = UnitGroupEmpty();

mods/heroes.stormmod/base.stormmaps/maps/heroes/singleplayermaps/startingexperience/tutorialveteran.stormmapMapScript.galaxy:9567

    gf_SetPlayableWithLooseCameraBounds(RegionFromId(63));
    GameTimeOfDayPause(true);
    GameSetMissionTimePaused(false);
    gv_cinematicHiddenUnits = UnitGroupEmpty();
    gv_cinematicTempUnits = UnitGroupEmpty();

mods/missionpacks/campaigncommon.sc2modbase.sc2data/LibComC.galaxy:4320

void libComC_gf_PauseMissionTimeCampaign (bool lp_pauseUnpause) {
    // Implementation
    GameSetMissionTimePaused(lp_pauseUnpause);
    libComC_gv_cC_TimeMissionPaused = lp_pauseUnpause;
}

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4617


    // Implementation
    GameSetMissionTimePaused(true);
    AITimePause(true);
    UnitPauseAll(true);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4649

    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryMusic, false, true);
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, false, true);
    GameSetMissionTimePaused(false);
    AITimePause(false);
    UnitPauseAll(false);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4680


    // Implementation
    GameSetMissionTimePaused(true);
    AITimePause(true);
    UnitPauseAll(true);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:4748

    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryMusic, false, true);
    SoundtrackPause(PlayerGroupAll(), c_soundtrackCategoryAmbience, false, true);
    GameSetMissionTimePaused(false);
    AITimePause(false);
    UnitPauseAll(false);

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOOC.galaxy:5339

    // Automatic Variable Declarations
    // Implementation
    GameSetMissionTimePaused(lp_pauseUnpause);
    libCOOC_gv_cC_TimeMissionPaused = lp_pauseUnpause;
}

mods/warcoop/warcoopdata.sc2modbase.sc2data/TriggerLibs/WarCoopData.galaxy:289

    }

    GameSetMissionTimePaused(lp_pauseUnpause);
    AITimePause(lp_pauseUnpause);
    UnitPauseAll(lp_pauseUnpause);