I’m fairly new to Unreal, but I’m trying to build something a damage reporting system type thing for automobiles using 3d visuals- basically every time a car is brought in, i want to be able to create a new instance of the level that has that car’s model, inside the game and the mechanic is able to map out maintenance damages. When i do this, how can i save the instances created inside the game, or store the reference IDs for the instances (and how do i give them unique names), so that they can be opened again once closed inside the game? (ideally should be able to store instance names in an array or something similar)? Thanks!
Hey there @vishd1094! Welcome to the community! The way I tend to handle saving these types of data for later is often to make a struct that holds all the information needed to recreate it.
In your case, your struct would have the instance name, car model, color information, damage information, etc. Then you would save an array (via a save system setup in your game instance) of those structs for your list, and when you load that save data, you can apply it to your base car instead of needing a ton of extra references all over the place. This does however mean you’ll need to create methods to apply the damage data to the car that I’m assuming is modular.