# Game Is Transitioned
Grammar — Game is transitioned
Flags —Native
|Function
Returns true if the game is transistioned. A game is transitioned if it has started as a result of a previous map (IE: Was not simply loaded from a lobby). Only supported in single player offline games.
Returns — bool
native bool GameIsTransitionMap();
# Related
Category: Game / Transitions
- GameSetNextCampaignIndex —
void
— GameSetNextCampaignIndex - End Game For Player —
void
— GameOver - Restart Game —
void
— RestartGame - Kick From Game —
void
— KickFromGame - Set Next Map —
void
— GameSetNextMap - Set Transition Map —
void
— GameSetTransitionMap - Set Next Mission Difficulty —
void
— SetNextMissionDifficulty - Game Is Transitioned —
bool
— GameIsTransitionMap
# Examples
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:8237
}
if (((libCamp_gv_tS_CurrentMap == libCamp_ge_MapID_MapTRaynor01) || (libCamp_gv_tS_CurrentMap == libCamp_ge_MapID_MapTRaynor02) || (libCamp_gv_tS_CurrentMap == libCamp_ge_MapID_MapTRaynor03)) && (GameIsTransitionMap() == false)) {
libCamp_gf_TS_DebugBuyTechAverage();
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:9179
}
if ((GameIsTransitionMap() == false)) {
lv__SectionName = libCamp_gf_TS_BankSectionName("MissionAvailableAge");
auto0A924734_i = libCamp_gv_TSC_MISSION_FIRST;
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:9409
BankLoad(lv_bankName, 1);
libCamp_gv_tS_MissionBanks[(lv_indexMission)] = BankLastCreated();
if (((GameIsTransitionMap() == false) || (libCamp_gv_tSX_IsSimulation == true) || (libCamp_gv_tSX_IsVictoryPlayAgain == true)) && (lv_bankExist == true)) {
libCamp_gf_TS_LoadTransitionVars(BankLastCreated(), true);
}
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:11461
// Implementation
if ((GameIsTransitionMap() == true)) {
return ;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13829
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((lv_indexMission == libSwaC_gf_CurrentMap())) {
if (((GameIsTransitionMap() == false) || (libSwaC_gv_zSX_IsSimulation == true) || (libSwaC_gv_zSX_IsVictoryPlayAgain == true)) && (libSwaC_gf_ZS_MissionSectionExists(lv_indexMission) == true)) {
TextExpressionSetToken("Param/Expression/lib_SwaC_0386BD51", "A", StringToText(libSwaC_gf_StoryMapFile(lv_indexMission)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_SwaC_0386BD51"), false);
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:15540
// Implementation
if ((GameIsTransitionMap() == true)) {
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:641
// Implementation
if ((GameIsTransitionMap() == true)) {
return ;
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:7703
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((lv_indexMission == libVoiC_gf_CurrentMap())) {
if (((GameIsTransitionMap() == false) || (libVoiC_gv_pCX_IsSimulation == true) || (libVoiC_gv_pCX_IsVictoryPlayAgain == true)) && (libVoiC_gf_PC_MissionSectionExists(lv_indexMission) == true)) {
TextExpressionSetToken("Param/Expression/lib_VoiC_A265CE09", "A", StringToText(libVoiC_gf_PC_CampaignMapFile(lv_indexMission)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_VoiC_A265CE09"), false);
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:3743
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission" && libComC_gf_CC_MapInternal(lv_indexMission) == false) {
if ((lv_indexMission == libComC_gf_CurrentMap())) {
if (((GameIsTransitionMap() == false) || (libComC_gv_cCX_IsSimulation == true) || (libComC_gv_cCX_IsVictoryPlayAgain == true)) && (libComC_gf_NC_MissionSectionExists(lv_indexMission) == true)) {
TextExpressionSetToken("Param/Expression/lib_ComC_C9FB5FCD", "A", StringToText(libComC_gf_CC_MapFile(lv_indexMission)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_ComC_C9FB5FCD"), false);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNovC.galaxy:719
// Implementation
if ((GameIsTransitionMap() == true)) {
return ;
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOOC.galaxy:156
// Implementation
if ((GameIsTransitionMap() == true)) {
return ;
}
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6675
if (CatalogFieldValueGet(c_gameCatalogMap, lv_indexMission, "Kind", 1) == "Mission") {
if ((lv_indexMission == libA3DDD02B_gf_CurrentMap())) {
if (((GameIsTransitionMap() == false) || (libA3DDD02B_gv_pPX_IsSimulation == true) || (libA3DDD02B_gv_pPX_IsVictoryPlayAgain == true)) && (libA3DDD02B_gf_PP_MissionSectionExists(lv_indexMission) == true)) {
TextExpressionSetToken("Param/Expression/lib_A3DDD02B_0386BD51", "A", StringToText(libA3DDD02B_gf_StoryMapFile(lv_indexMission)));
TriggerDebugOutput(1, TextExpressionAssemble("Param/Expression/lib_A3DDD02B_0386BD51"), false);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:7476
// Automatic Variable Declarations
// Implementation
if ((GameIsTransitionMap() == true)) {
return ;
}