# Set Transition Map
Grammar — Set game transition map to transition
Flags —Native
|Action
Sets the transition map for transition saves. Only supported in single player offline games.
# Arguments
string
— Transition
Returns — void
native void GameSetTransitionMap(string transitionMap);
# 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/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:15381
libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList(true, c_syncFrameTypeTextTag);
libNtve_gf_StoryMode(PlayerGroupAll(), true);
GameSetTransitionMap("Campaign/TStory01.SC2Map");
TriggerExecute(gt_Init00DebugCheckforcinematicsizesetting, true, false);
TriggerExecute(gt_Init01StoryData, true, true);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:15381
libNtve_gf_AddRemoveUIFrameTypeForGlobalFilterList(true, c_syncFrameTypeTextTag);
libNtve_gf_StoryMode(PlayerGroupAll(), true);
GameSetTransitionMap("Campaign/TStory01.SC2Map");
TriggerExecute(gt_Init00DebugCheckforcinematicsizesetting, true, false);
TriggerExecute(gt_Init01StoryData, true, true);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:9497
}
GameSetTransitionMap(("Campaign/" + libCamp_gv_tS_MapFile[(libCamp_ge_MapID_MapTStory01)]));
GameSaveCreate(lp_name, lp_transition, "", true);
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:12879
lv_transitionMap = ("Campaign/Swarm/" + libSwaC_gf_StoryMapFile(libSwaC_gf_PostMissionStoryMap(libSwaC_gf_CurrentMap(), libSwaC_gv_zSX_IsSimulation, c_gameOverVictory)));
GameSetTransitionMap(lv_transitionMap);
if ((libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_CurrentMap(), c_mapKindStory) == true)) {
lv_image = libSwaC_gf_StoryMapLoadingScreenImage(libSwaC_gf_CurrentMap());
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:231
// Implementation
UISetMinimumLetterboxHeight(0);
GameSetTransitionMap(("Campaign/Swarm/" + libSwaC_gf_StoryMapFile(lp_map)));
libNtve_gf_StoryMode(PlayerGroupAll(), true);
FogSetDisableAtUltra(true);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:682
lib281DEC45_gf_ZSS_TransitionalSave();
lv_transitionMap = ("Campaign/Swarm/" + libSwaC_gf_StoryMapFile(libSwaC_gf_CurrentMap()));
GameSetTransitionMap(lv_transitionMap);
lv_image = libSwaC_gf_StoryMapLoadingScreenVictoryImage(libSwaC_gf_CurrentMap());
GameSaveCreate(libSwaC_gf_StoryMapName(libSwaC_gf_CurrentMap()), StringToText(""), lv_image, true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6489
}
GameSetTransitionMap(("Campaign/Void/" + libVoiC_gf_PC_CampaignMapFile(libVoiC_gf_PostMissionStoryMap(libVoiC_gf_CurrentMap(), libVoiC_gv_pCX_IsSimulation, c_gameOverVictory, false))));
if ((libVoiC_gf_PC_CampaignMapTypeCheck(libVoiC_gf_CurrentMap(), c_mapKindStory) == true)) {
lv_image = libVoiC_gf_PC_CampaignMapLoadingScreenImage(libVoiC_gf_CurrentMap());
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignLib.galaxy:6755
libVoiC_gf_PC_UpdateCampaignScreen(lp_nextMap);
GameSetNextMap(("Campaign/Void/" + libVoiC_gf_PC_CampaignMapFile(lp_nextMap)));
GameSetTransitionMap(("Campaign/Void/" + libVoiC_gf_PC_CampaignMapFile(lp_nextMap)));
TextExpressionSetToken("Param/Expression/lib_VoiC_37BD8C51", "A", libVoiC_gf_PC_CampaignMapName(lp_nextMap));
GameSaveCreate(TextExpressionAssemble("Param/Expression/lib_VoiC_37BD8C51"), StringToText(""), "", true);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:606
// Implementation
UISetMinimumLetterboxHeight(0);
GameSetTransitionMap(("Campaign/Void/" + libVoiC_gf_PC_CampaignMapFile(lp_storyMap)));
libNtve_gf_StoryMode(PlayerGroupAll(), true);
GameSetSpeedValue(c_gameSpeedNormal);
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignStoryLib.galaxy:971
lv_transitionMap = ("Campaign/Void/" + libVoiC_gf_PC_CampaignMapFile("EpilogueStory01"));
}
GameSetTransitionMap(lv_transitionMap);
lv_image = libVoiC_gf_PC_CampaignMapLoadingScreenVictoryImage(libVoiC_gf_CurrentMap());
TextExpressionSetToken("Param/Expression/lib_VCST_9B920DB7", "A", libVoiC_gf_StoryPlanetName(libVoiC_gf_CurrentLocation()));
mods/missionpacks/campaigncommon.sc2mod — base.sc2data/LibComC.galaxy:2884
lv_image = libComC_gf_CC_MapLoadingScreenVictoryImage(libComC_gf_CurrentMap());
}
GameSetTransitionMap((libComC_gv_cC_MapPath + libComC_gf_CC_MapFile(libComC_gv_cC_TransitionSaveMap)));
GameSaveCreate(lp_name, lp_transition, lv_image, true);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:538
// Implementation
UISetMinimumLetterboxHeight(0);
GameSetTransitionMap(("Campaign/Nova/" + libComC_gf_CC_MapFile(lp_storyMap)));
libNtve_gf_StoryMode(PlayerGroupAll(), true);
GameSetSpeedValue(c_gameSpeedNormal);
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCST.galaxy:873
libNCST_gf_NS_TransitionalSave();
lv_transitionMap = ("Campaign/Nova/" + libComC_gf_CC_MapFile("NStory01"));
GameSetTransitionMap(lv_transitionMap);
lv_image = libComC_gf_CC_MapLoadingScreenVictoryImage(libComC_gf_CurrentMap());
TextExpressionSetToken("Param/Expression/lib_NCST_9B920DB7", "A", libComC_gf_CC_LocationName(libComC_gf_CurrentLocation()));
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:6021
lv_transitionMap = ("Campaign/VoidPrologue/" + libA3DDD02B_gf_StoryMapFile("PrologueStory"));
GameSetTransitionMap(lv_transitionMap);
if ((libA3DDD02B_gf_StoryMapTypeCheck(libA3DDD02B_gf_CurrentMap(), c_mapKindStory) == true)) {
lv_image = libA3DDD02B_gf_StoryMapLoadingScreenImage(libA3DDD02B_gf_CurrentMap());