Save game state

I’m getting myself confused now.

The node ‘create save game object’ will only take a save game type, so that probably IS the correct one.

But it’s confusing you also have a blueprint called the same thing, in the level :slight_smile:

The whole time here, we are talking about your save game. The save game you made with your player location in it.

This is the type of the function params etc. So this

image

probably IS BP_Save_Game.

Okay, I have the following right now

1 Like

Yes! :smiley:

So that saves the player position.

What code do you have to put the player back there? ( probably in the player, but might not be )

1 Like

This what I had, not sure what to do in it’s place now

1 Like

I don’t have anything in the player for the above, the spawn is only called at the New Game or Continue Game

1 Like

Ok, so when you are spawning the player, you can say

( that’s a != node )

what is the node under the != node

split

1 Like

Okay I have that in the player now, where do I call that custom event?

1 Like

Where you did before. How were you restarting the game before to test your player save?

You can either do this on ‘begin play’ in the player, or do it when you spawn the player, whatever you had before.

I would start the game, run to the now renamed Checkpoint which would save it, then exit to menu and when I click Continue button it resumed the game from that Checkpoint

1 Like

So you can put the code there. What do you have there now?

Main Menu > Continue Button clicked

1 Like

Right, so this bit

becomes

with everything else ( the possess etc )

Like this?

1 Like

Yes, that should do it…

What happens? ( fingers crossed )

@ClockworkOcean remains the supreme power all things Unreal Engine in my books, works like a charm my friend, thank you. :love_letter:

1 Like

Holy crap! :melting_face:

Excellent :sunglasses:

1 Like

@ClockworkOcean sorry! I just need clarification on it not being retrigerable when I continue game, as I start at the save point location it still retriggers if I overlap it again

Savegame
image

After some tinkering this appears to be working as I need it to

1 Like