Level problems

I’m creating a game that takes place on a boat, when I enter into the captain’s cabin (another map) and I go back to the boat the game restarts. I want that the character player stills in the same location, that the widget map stills activated in both levels and if an objects disappears it shouldn’t be there when you come back.

I also have problems with the inventory: if you take an object in the cabin/boat it hasn’t been there when you change map.

Thanks.

Are you unloading/loading these maps when transitioning between cabin/boat?

When unloading a map, all objects held by the map will be destroyed and recreated once you load the map again.

It sounds like you want to have the cabin and boat map as sublevels in a base map. Then you can set both maps to always be loaded and have a level sequence toggle the visibility when transitioning between maps. This way the maps do not get reset.

Take a look at this link for how to set up the sequencer:

Yes, I am.

This is exactly a better link to check out: