Save function on the same buildings

Greetings

I would need instructions on how to save the same parameters on the same building but in different locations.

I have a save function that saves everything, but the other building takes over the existing parameters

How should such parameters be stored
the game is city building

Are the parameters instance editable? Or if set up in c++ “protected”?

Hi,

thanks for your help, your instructions work :slight_smile:

But now I have a problem, if you know the solution, how to save it now when the player comes back into the game. The save function I use saves only one data and saves the same data for everyone

In your saved game, id make a map variable with a name mapped to whatever data your wanting saved, use get all actors of class and save each to the map. If you want more in depth help find me on discord : roflmaster.(With period)