How to check if Level Instances have finished loading?
Hello I'm learning how to procedurally generate a level using instanced level streaming.
My question is how to check if the level instance has finished loading?
I want to make a simple loading screen, so before the level loads the game checks if the level is loaded.
Below is a snippet of the generation script, tell me if more info on the blueprint is needed I'll post them as soon as possible.
asked Aug 11 '16 at 09:32 AM in Blueprint Scripting
Polling is a good solution, as lackthereof0 has suggested. Another solution is to use the OnLevelLoaded and/or OnLevelShown events, like this:
answered Aug 31 '16 at 11:19 PM
This is what I did. I made a Macro (which is like a function but can handle delays and multiple exec outputs) which periodically checks if the level is loaded. The functions you want is "Get Streaming Level" to get a level by name, then "Is Level Loaded" to check if it's loaded.
I hope that helps!
answered Aug 31 '16 at 06:07 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here