Multiple save slots - which was the last played?

I’ve got three save slots. After a player quits the game, the next time the game loads, the last played slot should be loaded automatically (rather than player choosing profile every time at startup.)

One thing I can do is have a flag in the save game object, and when save slot is changed, toggle the one and untoggle all the others. But I think there is some sort of in-built unreal thing that can save strings and such, like user settings or something like that?

Anybody know what I am talking about? If that is an outside save file not associated with save slots, it could just store name of my save file when they change.

I suppose I could keep another save object just for keeping string of last played, but I think if the unreal system I have in mind exist, that would be simpler.

Ah, better idea. Much simpler:

Single save slot, just multiple structs within a save object for each user. Just differentiate them by name. I am only saving a couple variables so this should be easiest thing to do.

1 Like