High score board. Please help fast.

MeatamirMeatamir Member Posts: 16
edited November -1 in Working with GS (Mac)
I am making a high score board for my game. The objective is to get the lowest time you can. I have the 5 fastest time displayed. The system would work fine except if you get 55 seconds as your high score and 22 seconds on your next. If you beat the number one time the second best time will be set back to its defult of 99.99. I don't know what is happening. I save the atributs and load them in the scene. The code to do it looks like this.
Rule
All
If bst time one > timer
If timer does not = 0
Do
Timer after .01 seconds
change bst time 4 to bst time 5
Timer after .02 seconds
change bst time 3 to bst time for

Hopefully you get the pattern.
At the end in a timer i tell it to save the all of the bst times. and to load them a second later

I have several other rules like this one for if you only get the second best score.

Thanks

Comments

  • XizaxXizax Member Posts: 46
    I have the same problem esp. if your talking about 1st 2nd 3rd place
  • XizaxXizax Member Posts: 46
    found a solution!!!!: (rule: if score is greater than best score
    (change attribute 2nd best to best score(timer 0.01 run till completion: change attribute best score to game score, save attribute best score key first ))) and so on but in the next one the rule is: (if game score is greater than 2best, if game score is less than best score) and you need to load the attributes somewhere
Sign In or Register to comment.