Hi guys & gals!
I am trying to implement a highscore system for my car racing game these days and manage to store player data in a struct variable when the player has crossed the finish line. In this struct variable I store “Player Name”, “Player Email” and “Lap Time” and save this data in a struct array inside a savegame blueprint. This seems to work pretty well, but now I also need a scoreboard for the top 10 players & can`t get my head around how to fetch data from the savefile and use that in a highscore widget. I know how to fetch data from the struct array in the savefile, but how can i then sort data by “best lap time” and put the best time in the correct order in the leaderboard etc.?
Really stuck here, so all help is very appreciated!
Roald