saving a objects state/location when streaming a level

Hi people I have a few levels set up, I have a item like a door that I open, can I save the doors state\location when unloading and Loding a level.

1 Like

Yup. Save game is what you need :wink:

You can also do this by saving variables in the game instance, but that won’t work if you quit and then play again.

Too good thanks, I really didn’t think about that as the solution,

1 Like

just in case there’s an experimental plugin called level streaming persistence that targets this functionality.

but i’d agree that savegame is the best option so far.

https://portal.productboard.com/epicgames/1-unreal-engine-public-roadmap/c/1098-level-streaming-persistence-experimental-

Store that vector in the game instance and it should be there when the level changes.

1 Like