Save game to slot: ID and slot name?
Hi all, I wish to ask about this function. I'm following the documentation and saw that this function asks for these. I plan to make some highscores, the top 10 will be displayed so is the player gets better, the game will overwrite the older data. Now, if I create a save with the exact same slot name and ID, it will mean that there will be only one highscore? If so, it means that on every attempt I try to save, like after a level, I will have to read the highscores, check how this score fits and overwrite that using the slot name and ID? Also, I have multiple game modes. Shall I create different save classes for each?
asked Jul 14 '16 at 07:31 AM in Blueprint Scripting
Greetings again @agiro,
first of all let's clear doubts
so how to make the system you specified , let's get to that now,
1.make an save game object
2.open the save game objects BP to add whatever variables are to be saved(in this case ,a float array)
arrays are being used for making it fast and tidy(also to be able to avoid making large number of variables).
for loading save game
for saving the game score ,it's complicated so that it appears in ascending order (replace current score with the score player get's)
make sure slot name is same everywhere
this has not been tested by me so there may be a few errors test this out and let me know.
Hope it helps!
Follow this question
Once you sign in you will be able to subscribe for any updates here