#how can I get the position of a player / key in an ordered data store

1 messages · Page 1 of 1 (latest)

mint lynx
#

what the title says

slate phoenix
#

dont you just call GetAsync? i dont really understand the question

astral glacier
#

@mint lynx give context

mint lynx
#

no i mean like the position of the key

#

if i call GetAsync I just get the value of the key

#

Im trying to make a thing where it shows which one were you to get the badge or something

manic walrus
mint lynx
#

did you read the title per chance

manic walrus
#

You have a key and an integer value, not much else there for you

mint lynx
#

I want to get the position at which the key is so i can display it

#

Its hard to explain

#

Its like there is 1000 people who got a badge and someone got it at 576 place

#

I want to display to them only that they got it at 576th place

#

Something like this (from a different game)

barren anvil
#

lots of ways ;o

unreal badger
barren anvil
#

and since they don't really need to be ordered, it's that easy 👍

#

you only need to know which id is next