Ok, so, I’m making a leaderboard, for this I need 4 variables(Top Score1, Top Score2, Top Score3, & Score) The top score variables are found in a widget blueprint called MainMenu and the score variable is found in a Actor blueprint called EndGame, I have these referenced in another widget blueprint called GameWin. I have set up the blueprint and in my eyes, it should be working, the way that I have it is I have a branch, the condition in Score > Top Score1 if true set Top Score1 to Score, but it is not setting the Top Score. Pic Below:
This part of blueprint is correct. However dunno how rest of.
Always use simple debug with Print String. Add it after true and after false with different text - like true/false or what you need, and you will see this branch working or not, maybe problem is before or after this part.
Now I see, some cast is failed - check where, it can be problem.
I tested it with printstring, the score prints correctly but when I print before the set it is 0 like it should be but after the set it is still 0.
It’s just for the text on the game win screen, completely unrelated.
So, I think I have worked out whats wrong, it’s not letting me edit what Top Score1 is even though it is set to editable, any solutions?