# Set Next Loading Screen

Grammar — Set the next loading screen image to image and text to title, subtitle, body, and help
FlagsNative | Action

Creates the next loading screen if transitioning to a new map from the current one.

# Arguments

  • string [ filepath ] — Image
  • text — Title
  • text — Subtitle
  • text — Body
  • text — Help
  • bool — Wait For Input

Returns — void

native void UISetNextLoadingScreen(
	string imagePath,
	text title,
	text subtitle,
	text body,
	text help,
	bool waitForInput,
);

Category: UI / Transitions

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L8403
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)
// L8412
UISetNextLoadingScreen(lv_image, lv_title, lv_subTitle, StringToText(""), lv_help, true)
// L8466
UISetNextLoadingScreen(lv_image, StringToText(""), StringToText(""), StringToText(""), StringExternal("Param/Value/lib_Camp_CFB915EF"), false)

# campaigns/swarmstory.sc2campaign

SwarmCampaignLib.galaxy

// L13210
UISetNextLoadingScreen(libSwaC_gf_StoryMapLoadingScreenImage("ZLab1"), StringToText(""), StringToText(""), StringToText(""), StringExternal(CatalogFieldValueGet(c_gameCatalogMap, lp_nextMap, "LoadingHelpRestart", c_playerAny)), lv_waitForKey)
// L13233
UISetNextLoadingScreen(lv_image, lv_title, lv_subtitle, lv_body, libSwaC_gf_StoryMapHelp(lp_nextMap), lv_waitForKey)

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L6885
UISetNextLoadingScreen(lv_image, StringToText(""), lv_subtitle, lv_body, libVoiC_gf_PC_CampaignMapHelp(lp_nextMap), lv_waitForKey)

# mods/missionpacks/campaigncommon.sc2mod

LibComC.galaxy

// L3039
UISetNextLoadingScreen(lv_image, StringToText(""), lv_subtitle, lv_body, libComC_gf_CC_MapHelp(lp_nextMap), lv_waitForKey)

# mods/voidprologue.sc2mod

LibA3DDD02B.galaxy

// L6360
UISetNextLoadingScreen(lv_image, lv_title, lv_subtitle, lv_body, libA3DDD02B_gf_StoryMapHelp(lp_nextMap), lv_waitForKey)