# Set Next Loading Screen Text Position

Grammar — Move the next loading screen’s Text to (offsetX, offsetY) relative to anchor of screen with width width and height height
FlagsNative | Action

Adjusts the text position of the next loading screen if transitioning to a new map from the current one.

# Arguments

  • int<preset::Anchor> — Anchor
  • int — OffsetX
  • int — OffsetY
  • int — Width
  • int — Height

Returns — void

native void UISetNextLoadingScreenTextPosition(
	int anchor,
	int offsetX,
	int offsetY,
	int width,
	int height,
);

Category: UI / Transitions

# Examples

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

        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);
    }
    else {

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

            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:8468

    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));
    lv_mapID = libCamp_ge_MapID_MapTStory01;

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


    UISetNextLoadingScreen(lv_image, lv_title, lv_subtitle, lv_body, libSwaC_gf_StoryMapHelp(lp_nextMap), lv_waitForKey);
    UISetNextLoadingScreenTextPosition(c_anchorTopLeft, lv_offsetX, lv_offsetY, CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextWidth", c_playerAny), CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextHeight", c_playerAny));
}

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


    UISetNextLoadingScreen(lv_image, StringToText(""), lv_subtitle, lv_body, libVoiC_gf_PC_CampaignMapHelp(lp_nextMap), lv_waitForKey);
    UISetNextLoadingScreenTextPosition(c_anchorTopLeft, lv_offsetX, lv_offsetY, CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextWidth", c_playerAny), CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextHeight", c_playerAny));
}

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


    UISetNextLoadingScreen(lv_image, StringToText(""), lv_subtitle, lv_body, libComC_gf_CC_MapHelp(lp_nextMap), lv_waitForKey);
    UISetNextLoadingScreenTextPosition(c_anchorTopLeft, lv_offsetX, lv_offsetY, CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextWidth", c_playerAny), CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextHeight", c_playerAny));
}

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

    UISetNextLoadingScreen(lv_image, lv_title, lv_subtitle, lv_body, libA3DDD02B_gf_StoryMapHelp(lp_nextMap), lv_waitForKey);
    if ((lp_nextMap == "VoidPrologue01")) {
        UISetNextLoadingScreenTextPosition(c_anchorTop, lv_offsetX, lv_offsetY, CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextWidth", c_playerAny), CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextHeight", c_playerAny));
    }
    else {

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

    }
    else {
        UISetNextLoadingScreenTextPosition(c_anchorTopLeft, lv_offsetX, lv_offsetY, CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextWidth", c_playerAny), CatalogFieldValueGetAsInt(c_gameCatalogMap, (lp_nextMap), "LoadingTextHeight", c_playerAny));
    }
}