# Set Next Loading Screen Image Scale

Grammar — Set the next loading screen image scale to scale
FlagsNative | Action

Sets the next loading screen image scaling method if transitioning to a new map from the current one.

# Arguments

Returns — void

native void UISetNextLoadingScreenImageScale(
	int imageScale,
);

Category: UI / Transitions

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:8404


        UISetNextLoadingScreen("Assets\\Textures\\loading-lostviking.dds", StringToText(""), (StringExternal("Param/Value/lib_Camp_D1F4D6A7") + StringExternal("Param/Value/lib_Camp_3AB64EDD") + StringExternal("Param/Value/lib_Camp_8172429D")), StringToText(""), StringExternal("Param/Value/lib_Camp_5B28E86A"), true);
        UISetNextLoadingScreenImageScale(c_scaleAspect);
        UISetNextLoadingScreenTextPosition(c_anchorTop, 0, 250, 750, 400);
    }

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:8413

        else {
            UISetNextLoadingScreen(lv_image, lv_title, lv_subTitle, StringToText(""), lv_help, true);
            UISetNextLoadingScreenImageScale(c_scaleAspect);
            UISetNextLoadingScreenTextPosition(c_anchorTopLeft, 50, 250, 750, 400);
        }

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:8467

    TriggerDebugOutput(1, (StringExternal("Param/Value/lib_Camp_85AB6480") + StringToText(lv_image)), false);
    UISetNextLoadingScreen(lv_image, StringToText(""), StringToText(""), StringToText(""), StringExternal("Param/Value/lib_Camp_CFB915EF"), false);
    UISetNextLoadingScreenImageScale(c_scaleAspect);
    UISetNextLoadingScreenTextPosition(c_anchorTopLeft, 40, 60, 1100, 400);
    libCamp_gf_TS_SaveAllTransitionData(false, false, (lp_resultFromVictory == c_gameOverDefeat));

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:13220

    lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", 1, c_stringCase);
    lv_waitForKey = !(libSwaC_gf_StoryMapTypeCheck(lp_nextMap, c_mapKindStory));
    UISetNextLoadingScreenImageScale(c_scaleAspect);
    if ((libSwaC_gf_LastMapConditionCheck(libSwaC_ge_MissionCondition_Sucessful) == true) && (libSwaC_gf_LastMapConditionCheck(libSwaC_ge_MissionCondition_Simulation) == false) && (libSwaC_gf_StoryMapTypeCheck(libSwaC_gf_LastMap(), c_mapKindMission) == true) && (libSwaC_gf_LastMap() != lp_nextMap)) {
        lv_image = libSwaC_gf_StoryMapLoadingScreenVictoryImage(libSwaC_gf_CurrentMap());

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

    lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", 1, c_stringCase);
    lv_waitForKey = !(libVoiC_gf_PC_CampaignMapTypeCheck(lp_nextMap, c_mapKindStory));
    UISetNextLoadingScreenImageScale(c_scaleAspect);
    if ((libVoiC_gf_LastMapConditionCheck(libVoiC_ge_MissionCondition_Sucessful) == true) && (libVoiC_gf_LastMapConditionCheck(libVoiC_ge_MissionCondition_Simulation) == false) && (libVoiC_gf_PC_CampaignMapTypeCheck(libVoiC_gf_LastMap(), c_mapKindMission) == true) && (libVoiC_gf_LastMap() != lp_nextMap)) {
        lv_image = libVoiC_gf_PC_CampaignMapLoadingScreenVictoryImage(libVoiC_gf_CurrentMap());

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

    lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", 1, c_stringCase);
    lv_waitForKey = !(libComC_gf_CampaignMapTypeCheck(lp_nextMap, c_mapKindStory));
    UISetNextLoadingScreenImageScale(c_scaleAspect);
    if ((libComC_gf_LastMapConditionCheck(libComC_ge_MissionCondition_Sucessful) == true) && (libComC_gf_LastMapConditionCheck(libComC_ge_MissionCondition_Simulation) == false) && (libComC_gf_CampaignMapTypeCheck(libComC_gf_LastMap(), c_mapKindMission) == true) && (libComC_gf_LastMap() != lp_nextMap)) {
        lv_image = libComC_gf_CC_MapLoadingScreenVictoryImage(libComC_gf_CurrentMap());

mods/voidprologue.sc2modbase.sc2data/LibA3DDD02B.galaxy:6342

    lv_offsetString = StringReplaceWord(lv_offsetString, ",", " ", 1, c_stringCase);
    lv_waitForKey = !(libA3DDD02B_gf_StoryMapTypeCheck(lp_nextMap, c_mapKindStory));
    UISetNextLoadingScreenImageScale(c_scaleAspect);
    if ((libA3DDD02B_gv_pP_InCompletedCampaign == false) && (libA3DDD02B_gf_LastMapConditionCheck(libA3DDD02B_ge_MissionCondition_Sucessful) == true) && (libA3DDD02B_gf_LastMapConditionCheck(libA3DDD02B_ge_MissionCondition_Simulation) == false) && (libA3DDD02B_gf_StoryMapTypeCheck(libA3DDD02B_gf_LastMap(), c_mapKindMission) == true) && (libA3DDD02B_gf_LastMap() != lp_nextMap)) {
        lv_image = libA3DDD02B_gf_StoryMapLoadingScreenVictoryImage(libA3DDD02B_gf_CurrentMap());