What is the proper way to create a loading screen when using ServerTravel? I want a way so that a loading screen will show until I manually remove it.
The main reason for this is to mask that split second where the camera is set to 0,0,0 when the new map is loaded, but also to keep in on the screen until all the functions are done before the player character is spawned.
If there is no support in Blueprint and it requires C++ that is fine if you can point me in the right direction.
Thanks! But how did you finish manually stop loadingscreen,
keep on the screen until finish servertravel and complete custom init , use getmovieplayer()->stopmovie()?
The input for the function is of type Widget. Since UserWidget is derived from that, it will work.
What this does, is that it stops the widget from being removed when you change the level. After the level is changed and everything is done loading, you just hide or remove the widget. For that just keep a reference for the widget inside CustomGameInstance.