Easy question - Leaderboard

zedak

New Member
Reaction score
0
I need a little help with making a leaderboard, i got a game there you should pick gold all the time, just run around and pick gold coins and i want a leaderboard that shows how much gold each player have. I've made the leaderboard so its shown and an intreger array and blah blah but i dont know how i shall do to connect the gold to the leaderboard =S please help me, thanks
 

HydraRancher

Truth begins in lies
Reaction score
197
you need an "update trigger".

So every second update the leader board by re-setting the values
 

Komaqtion

You can change this now in User CP.
Reaction score
469
Here's an example of HydraRancher's trigger :D

Trigger:
  • Leaderboard Update 1
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 12, do (Actions)
        • Loop - Actions
          • Leaderboard - Change the value for (Player((Integer A))) in (Last created leaderboard) to ((Player((Integer A))) Current gold)
      • Leaderboard - Sort (Last created leaderboard) by Value in Descending order
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top