How can I save a completed sequence?

I’ve been trying for a few days but I haven’t had any results, I’ve tested several things but I believe I’m making a mistake in one detail that I can’t see. I have several sequences in my level, items and so on are already saved correctly… but I’m having difficulty saving the sequences that have already been played, so as not to reproduce them again… because for now every time I “die” in the game I have to play all the sequences. sequences again

I see you saving the game, but then I see this

image

?

I am just using it to pull command to save transform too

Well, it looks ok. But why do this conversion between enums and strings? Does that work? ( I haven’t tried ).

Create an enum variable for CurrentSequence. As a sequence is completed update the CurrentSequence. On spawn/respawn use CurrentSequence to handle/load the current state of the game.

you mean this? If so, I had already done it

Sorry, I’m new to developments, I still have a little difficulty with the tips