Announcement

Collapse
No announcement yet.

Save High Score

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Save High Score

    Hi, I have a problem with the backup of my high score.
    I created a blueprint "MySaveGame" and an other blueprint show below, as in the unreal engine tutorial.
    The concept is simple, when the player make a high score, if is it a record, that is saved.
    The problem is that when I restart the game, the high score become automaticly the currently score even if it exist a better score than this one.
    Thanks for your answer !


    Click image for larger version

Name:	BlueprintScore.png
Views:	1
Size:	266.1 KB
ID:	1226709

    #2
    I'm not sure if this is related to your problem, but if you set a "Save Game Instance" variable, why after the Branch node, in the false branch, you set that variable again, instead using the value in the variable?
    Also, which variables do you have in the "My Save Game" blueprint?
    Leader of the Unreal Engine Meetup - Rome.
    Find me on twitter, glad to get in touch

    Comment


      #3
      Like that ?

      Click image for larger version

Name:	BlueprintScore2png.png
Views:	1
Size:	234.8 KB
ID:	1132342

      In MySaveGame blueprint there is "SaveSlotName", "UnserIndex" and "Record".

      Comment

      Working...
      X