Save GameMode variables in SaveGame class

Hey all,

I’m trying to save a bunch of boolean variables from my Game Mode in to my save game class but I can’t find a sane way to do it. How do you do this?

These variables link to a UMG showing a bunch of unlocks within the game. Each variable essentially is activated once the player unlocks that particular thing.

Thanks!

What do you mean by “can’t find a sane way”? What have you tried? What’s not working?

In general, you:

Hey CleanCut, I’m just saying I can’t figure it out is all. I’m a bit of an idiot.

Would you be able to show an example of what you mean as an example, please? I know how to cast, I’m just wondering how you connect it to saving the game.

Ah thank you! That really helps! Is the loading of the variables relatively the same? I’m having trouble with that too.

Yep, just go backwards. That Save/Load page I linked to has examples. Don’t forget to mark your issue resolved by clicking the checkmark up by this answer.