• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Leader board Total gold earned?

Status
Not open for further replies.
Level 2
Joined
Jun 18, 2012
Messages
24
Hello :) im making a leaderboard for my ORPG, and i want my leaderboard to keep count on total gold earned, but i got some problem... the closest i can get to total gold earned it "current gold" but as i said, i want it to keep it counting TOTAL gold EARNED and not current... anyone got an idea how i will make it work?
 
Level 9
Joined
Apr 19, 2011
Messages
447
So, you want your leaderboard to show how much gold have your earned since you started playing?
If that's it, then you could make an integer variable. Each time you earn gold, add that amount of gold to the variable, and then show the value of the variable in the leaderboard.

Regards
 
Status
Not open for further replies.
Top