I have several stream levels that I am trying to load at one time. I have all 5 saved into an array. Is there a way to load all 5 at once? I was thinking I could plug it into a ForEachLoop and plug that into a Load Stream Level, but that only loads the first item in the array. So maybe I am misunderstanding how that node works.
Announcement
Collapse
No announcement yet.
Load Several Stream Levels at once
Collapse
X
-
I had a quick look at the Engine code. The LoadStreamLevel and UnloadStreamLevel are latent actions that only get queued up if there isn't already one running. Therefore, a for-loop won't work. The node will simply ignore any additional calls after the first one, and there will be no error messages in the log. You'll have to detect when the first level is loaded/unloaded, then load/unload the second one, and so on.
Gerke Max Preussner | UE4 Programming Consultant
Follow me on Github | Goodreads | Linkedin | Pinterest | SlideShare | Twitter.
Chat with me as gmpreussner on Discord.
Comment
Comment