To download this demo for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://RaeKwon.ScoreboardDemo##version=2
Emulator users, in the BYOND pager go to File | Open Location and enter this URL:
byond://RaeKwon.ScoreboardDemo##version=2
1736 downloads
Version 2
| Date added: | Feb 17 2003 |
| Last updated: | Jul 29 2009 |
1 fan
This demo will make a scoreboard for you. Which can be used to calculate the 10 strongest players in your game. [More]
|
Latest Update:
- whenever you put a number for your level bigger than 99, it would be like 1+e0, Fixed!
Instruction:
Inside this demo you'll see the coding for a Scoreboard, this will give you instructions on how to use it.
To start off, in Scoreboard.dm you'll see the following code:
/Rank_Entry/
var{Name;Key;Level;Date}
New(mob/person)
if(!person)return
Name=(person.name)
Key=(person.key)
Level=(person.level)
Date=(time2text(world.realtime))<dm>
Now notice the Level=(person.level) simply change everything with the var "level" to the var in your game.
|
|
|
Copyright © 2012 BYOND.
All rights reserved.