Let’s say I have a racing game. The player starts out with a low end car in the beginning of his career, but as he keeps on playing, he can unlock more cars. I need to be able to save information about what cars the player currently has or hasn’t unlocked. How do I represent this?
I have a SaveGame blueprint that is going to generate the save file. I just need this blueprint to organize the available cars that the player has in an efficient data model.
Should I make an array with a bunch of unique strings that represent each car, and store those unique strings if the player unlocked it? Or should I make an array of unique integer ID’s? Or is there a better way?