Door that dynamically changes what level it leads to

In the project Im working on, I have a sort of lobby hub level that the player starts in, and returns to after each level. It only has one door the player can interact with and I want it to load the next level dynamically based on what the next level would be. My initial Idea was to set up a game instance with some level variables
Screenshot 2024-06-01 111847
and on the hub level blueprint, dynamically set the level to load blueprint like this


adding further branches as I make more levels. The door would have a reference to which level its loading, and my different objectives on each level would be able to set the level as completed once the objective is complete. But this feels kinda clunky, wondering if there’s a better way to achieve this? I specifically also want to have a reference to what levels have been completed because I also what the hub level to change over time

1 Like

Two arrays :slight_smile: One of ready levels, the other of completed levels.

All you have to do is move them from one array to the other.

ah i knew i was over thinking it. that makes way more sense, thank you!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.