I've used arrays for saves, and for saving settings options. These are one array each and work game-wide.
Within the saves however, a player in the game can create multiple settlements. What I wanted to do so the settlement count is endless and not create a tonne of global variables such as- Settlement10_WoodCount that might not be used- is use an array for that save.
Is there a way to achieve this? I could pre-make an array for each save slot then clear then save over on every save game, and then have an extra array for unsaved, new games, and have a picker to saveslot for a game = 2 it would save to SettlementsArray2 (assuming that is possible).
The saves use the Construct save game method- but I believe arrays get around that so having one array with stored values within each save would not work- otherwise the settings array would not be game-wide.
But is there a better way to do this?