Hi,
I have no idea what I’m doing when it comes to saving and loading a game, it sounds simple, it’s made to sound simple, there are various tutorials on various ways you can do it, I’ve got a cluster f*ck of a setup now that hardly works, I need a professional.
What I want to do…
-
At the Main Menu, I can click New Game and it will start a new game at the Player Start and once loaded, it will then save the current location and set variables for the player like ‘hasredkey’ or ‘hasbluekey’ to no for example.
-
When the player overlaps a collision box I want the game to save, the current location, the state of the world e.g if doors are open or closed and variables like the keys again, perhaps the player has one or two now they should be saved.
-
When the player exits to the main menu, a continue button will appear, when the continue button is clicked it will load the location, variables and game state.
-
If the player has a save already and hits new game, it should overwrite this save and create a new one.
For the life of me I can’t work this out properly.
What I can do currently…
- Start new game, start at the playerstart
- Save game appears to work as I have a manual button to trigger it at the moment
- Continue game spawns the player at the 0,0,0 position instead of where it should have saved the last location
I’m asking a lot here so I am willing to pay for a service if required but thought I should at least see if anyone is up to the task here
main menu widget (where new game and continue is)
Save Game Function (also inside main menu bp)
Load Game Function (also inside main menu BP)