Saving Actors Been Picked Up

In my platformer game i have some collectible items, some chests that can be opened only once and door locks can be opened only once. How can i save these? I made a save system where i store my characters variables but i dont know how to store all these data. I can do it if there was a single door or single collectible in my game but idk how to do it when i have hundreds of these. I believe first i need to store which actors i have on my levels the add “PickedUp” or “LockOpened” booleans in them then save these variables but i dont know where to start, can someone guide me. My current save system looks like this if you need them



these are on game instance

One way to do it would just be to “get all actors of class” when you are about to save for each class you want to save.

Then you would just store lists of actors on the BP_SaveGame object that contain lists of objects that are “picked up” or “opened”.

Not sure if this is the absolute best way to do it, but that should work.

1 Like

I gave every item an id and made an array of “BeenPickedUp” bool, the same with doors. And managed to make it thanks.