21.10.2012, 00:26
How would I go about making a level&experience system using dini?
I'm thinking of something along the lines of;
Level 1 = 100 points
Level 2 = 200 points
Level 3 = 400 points
Level 4 = 800 points
Basically, *2 every time.
I know I need to set it under OnPlayerDeath.. The killer get +1 points and then it checks if he reached one of the points needed to level up, then it sets his new level to what it's supposed to be.. But the thing is, I have no idea how I would do that
I'm thinking of something along the lines of;
Level 1 = 100 points
Level 2 = 200 points
Level 3 = 400 points
Level 4 = 800 points
Basically, *2 every time.
I know I need to set it under OnPlayerDeath.. The killer get +1 points and then it checks if he reached one of the points needed to level up, then it sets his new level to what it's supposed to be.. But the thing is, I have no idea how I would do that