High Score

Hi

Want to setup a simple high score and I know I have done this wrong. This was my first attempt and I could not finish it because I know it is wrong.

Any Thoughts

hi, make sure your reference is good, has to be set somewhere in that BP or pulled from a cast of some kind, anyway…

a quick example:

** I pull the from a cast (blue pin) (my score is actually in the ‘mycharacter’ BP so easy stuff), I then use the conditional Branch node to check ‘If’ Score is higher (or ‘>’ Greater Than) than High Score then set High Score to Score, ‘If’ Not then just continue.**

hope that helps a bit (the nodes on the right just show how you can hook up the Branch condition, this is out of a widget BP)

hi
look at my 2d infinite runner template , it can help you