I am trying to create a simple ranking NPC ingame that will rank players based on a variable, this variable is increased automatically once a player is killed, or does a specific quest. I know SQL is an option but I wanted to code it without it. I was originally thinking of adding the top 10 players to an array, but the thing that i can't figure out is how I would continuously update this top list. Do you guys have any suggestions or potentially, some sample scripts I can take a look at to based mine off of? Thanks!
Question
Genesis
Hello all,
I am trying to create a simple ranking NPC ingame that will rank players based on a variable, this variable is increased automatically once a player is killed, or does a specific quest. I know SQL is an option but I wanted to code it without it. I was originally thinking of adding the top 10 players to an array, but the thing that i can't figure out is how I would continuously update this top list. Do you guys have any suggestions or potentially, some sample scripts I can take a look at to based mine off of? Thanks!
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.