Problem in getting a variable from the Save Game Class

I am having an issue getting a variable (High Score SD)from the Save class
and then if it is greater than (High Score BP) then the game needs to save it.


Screenshot 57

Please Help!

Make sure you’re saving it to a variable dragged from the save game, I had a simple error the other day where I was setting the variable to a local variable and not the saved game variable

ok ,First check that if save game exist after set the variable.
if it is false then create save game and the same you have done but and if it I true then load save game and check whether the score >= save game integer and if this statement is true then save the game .

1 Like