# Pause Mission Time
Grammar — paused mission time
Flags —Native
|Action
Pauses or unpauses Mission Time
# Arguments
bool
<preset::PauseUnpauseOption> — Paused
Returns — void
native void GameSetMissionTimePaused(bool inPaused);
# Related
Category: Game / Game Settings
- Map Initialization —
void
— TriggerAddEventMapInit - Save Game Started —
void
— TriggerAddEventSaveGame - Save Game Finished —
void
— TriggerAddEventSaveGameDone - Load Game Finished —
void
— TriggerAddEventLoadGameDone - Set Game Speed —
void
— GameSetSpeedValue - Game Set Quit On Quit Button —
void
— GameSetQuitOnQuitButton - Set Global Time Scale —
void
— GameSetGlobalTimeScale - Pause Mission Time —
void
— GameSetMissionTimePaused - Mission Time Paused —
bool
— GameIsMissionTimePaused - Mission Time —
fixed
— GameGetMissionTime - Set Minimum Game Speed —
void
— GameSetSpeedValueMinimum - Lock Game Speed —
void
— GameSetSpeedLocked - Game Speed Factor —
fixed
— GameGetSpeed - Game Speed —
int
<preset::GameSpeed> — GameGetSpeedValue - Global Time Scale —
fixed
— GameGetGlobalTimeScale - Game Speed Minimum —
int
<preset::GameSpeed> — GameGetSpeedValueMinimum - Game Speed Is Locked —
bool
— GameIsSpeedLocked - Attribute Game Value —
string
<attributevalue> — GameAttributeGameValue - Attribute Player Value —
string
<attributevalue> — GameAttributePlayerValue - Players On Team —
playergroup
— GameAttributePlayersForTeam - Turn Fixed Random Seed On/Off —
void
— GameSetSeedLocked - Random Seed Is Locked —
bool
— GameIsSeedLocked - Set Random Seed —
void
— GameSetSeed - Create Saved Game —
void
— GameSaveCreate - Set Game Pausing Allowed —
void
— GameSetPauseable - Set Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemaining - Pause Tradeshow Game Time Remaining —
void
— GameSetAbsoluteTimeRemainingPaused - Tradeshow Game Time Remaining —
fixed
— GameGetAbsoluteTimeRemaining - Tradeshow Game Time Remaining Is Paused —
bool
— GameGetAbsoluteTimeRemainingPaused - Map Name —
text
— GameMapName - Map Path —
string
— GameMapPath - Map Description —
text
— GameMapDescription - Map Is Blizzard —
bool
— GameMapIsBlizzard - Map Texture Set —
string
<gamelink::Terrain> — GameTerrainSet - Game Is Test —
bool
— GameIsTestMap - Game Is Examinable —
bool
— GameIsExaminable - Game Get Test Config Type —
int
— GameTestConfigType - Game Is Online —
bool
— GameIsOnline - Game Is Debug Option Set —
bool
— GameIsDebugOptionSet - Game Is Matchmade —
bool
— GameIsMatchmade - Game Is Competitive —
bool
— GameIsCompetitive - Game Is Practice —
bool
— GameIsPractice - Game Is Cooperative —
bool
— GameIsCooperative - Game Allows Duplicate Heroes —
bool
— GameAreHeroDuplicatesAllowed
# Examples
campaigns/swarm.sc2campaign — base.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.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/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:8250
// Automatic Variable Declarations
// Implementation
GameSetMissionTimePaused(lp_pauseUnpause);
libVoiC_gv_pC_TimeMissionPaused = lp_pauseUnpause;
}
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2150
VisEnable(c_visTypeMask, false);
VisEnable(c_visTypeFog, false);
GameSetMissionTimePaused(true);
libNtve_gf__CineModeStoreCheatStatus();
GameCheatAllow(c_gameCheatAny, false);
mods/core.sc2mod — base.sc2data/TriggerLibs/NativeLib.galaxy:2165
VisEnable(c_visTypeMask, true);
VisEnable(c_visTypeFog, true);
GameSetMissionTimePaused(false);
libNtve_gf__CineModeRestoreCheatStatus();
}
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1834
VisEnable(c_visTypeMask, false);
VisEnable(c_visTypeFog, false);
GameSetMissionTimePaused(true);
libNtve_gf__CineModeStoreCheatStatus();
GameCheatAllow(c_gameCheatAny, false);
mods/core.stormmod — base.stormdata/TriggerLibs/NativeLib.galaxy:1849
VisEnable(c_visTypeMask, true);
VisEnable(c_visTypeFog, true);
GameSetMissionTimePaused(false);
libNtve_gf__CineModeRestoreCheatStatus();
}
mods/heroes.stormmod — base.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.stormmap — MapScript.galaxy:9567
gf_SetPlayableWithLooseCameraBounds(RegionFromId(63));
GameTimeOfDayPause(true);
GameSetMissionTimePaused(false);
gv_cinematicHiddenUnits = UnitGroupEmpty();
gv_cinematicTempUnits = UnitGroupEmpty();
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:4320
void libComC_gf_PauseMissionTimeCampaign (bool lp_pauseUnpause) {
// Implementation
GameSetMissionTimePaused(lp_pauseUnpause);
libComC_gv_cC_TimeMissionPaused = lp_pauseUnpause;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:4617
// Implementation
GameSetMissionTimePaused(true);
AITimePause(true);
UnitPauseAll(true);
mods/starcoop/starcoop.sc2mod — base.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.sc2mod — base.sc2data/LibCOOC.galaxy:4680
// Implementation
GameSetMissionTimePaused(true);
AITimePause(true);
UnitPauseAll(true);
mods/starcoop/starcoop.sc2mod — base.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.sc2mod — base.sc2data/LibCOOC.galaxy:5339
// Automatic Variable Declarations
// Implementation
GameSetMissionTimePaused(lp_pauseUnpause);
libCOOC_gv_cC_TimeMissionPaused = lp_pauseUnpause;
}
mods/warcoop/warcoopdata.sc2mod — base.sc2data/TriggerLibs/WarCoopData.galaxy:289
}
GameSetMissionTimePaused(lp_pauseUnpause);
AITimePause(lp_pauseUnpause);
UnitPauseAll(lp_pauseUnpause);