Continuing game with SaveGame

Hi,

I watched some video tutorials on the implementation of saving and loading game mechanics, but it never explained what I was actually looking for.

Let’s say I have an RTS and I save the game to a slot. After loading it from the same slot I would like to get everything exactly the same as it was in the moment of saving i.e. all of the actor transforms, velocities, environment, current dynamic material instances parameter values, how the HUD looked at that moment etc. I would also like the units in the game to continue the orders they were given, but weren’t completed when the game was saved.

So basically what I am asking is: Is there a way to save a given game state entirely, with every possible parameter affecting it at a certain moment?

The thing is that if I followed the tutorials I would have to create hundreds of variables to reproduce the state the game was in when being saved.

I would really appreciate any help :slight_smile:

Hi

This might help.