Download

Maintaining a boolean state across levels

I have a boolean variable in my player character’s blueprint that is set to untrue as its default state. Performing a certain action in Level 1 sets it to true, which enables the player to carry out a particular action in Level 2. But when Level 2 opens, the boolean resets to its default state. Is there any way to prevent this from happening? When a new level opens, how do I get the boolean to remain at whatever state it was in at the end of the previous level?

Game Instance !!!

Here’s a simple tutorial to get you started. How to use the Game Instance in Unreal Engine 4 - Couch Learn

@Rev0verDrive Right on! Thanks mate.