Basically, it's easy.
world.GetPos(src), it returns your position in the HUB Scoreboard. o.O By position i mean the #.
ID:106982
Jan 14 2011, 9:36 am
|
|||||||
| |||||||
src is a bad way to judge it -- some games do not use your key, or any information about you other than your "in-game name" to associate you with a score.
Again, if this were simply getPos(name, field), it should be fine. |
...I was just using 'src' as a filler in my example. I don't actually mean to use the mob in that argument.
|
It would be handy if there was a way to get the current ranking of a key for a specific field by using GetScores().
As an example syntax, this isn't particularly elegant, but would work: GetScores(count=0, skip="DarkCampainger", field="Score") Where you set count to 0, skip to the key you're searching for, and field to the field to rank by. This would be useful for letting players know where they currently stand, and you could even use the number to get a list of players with ranks adjacent to their's. |
it'd be more like
GetScorePos(src, field)