I’ve look at a few resources and none could clearly explain how to not only save the game which I have already implemented, but also store the state of the game world / level.
For example if the player has turned a light on in the previous session, saved the game, exited, continued from last checkpoint the light should remain on, but currently reverts to being off.
How do I make it so the game state at the time of saving is stored along with the game save?
This is my blueprint for the light I have in the game, should I create a variable from the output of ‘Spawn Sound at Location’ to store the current status? if so, how would I then feed that into the Save Game?
This issue with ‘continue button clicked’… how is that variable getting from the widget to the blueprint? I think it may be not, that’s why you’re having a problem there.
You could fiddle about to get the variable from the widget to the BP, but once you’ve got the savegame working, you can just stash it in there
I’ve got myself really confused now because I think I am doubling up.
This is BP_SaveGame, which I place in the world to trigger a create save event or set as most recent save point which is called at ‘Continue Game’ button click from Main Menu.