Worldofjimmy Posted January 19, 2019 Posted January 19, 2019 Hello,  Im trying to make a skill level up when it hit a certain amount of experience points. So far i managed to figure out how to gain experience points on a newly created skill. For example Mining. what I can’t figure out is how to make the skill level up on X experience points. I tried to use a conditional but it got stuck in a loop.  Anyone who might have a solution?
0 Ainz Ooal Gown Posted January 19, 2019 Posted January 19, 2019 If your using player variables for example "Mining EXP" & "Mining Level" and want the "Mining Level" to increase when "Mining EXP" gets to a certain point you can use a condition for player variable "Mining EXP" is equal to or greater than.  Example:  Condition: Is Mining EXP => 1000 Then Mining Level = 1 Else Condition: Is Mining EXP => 2000 Then Mining Level = 2 Else Condition: Is Mining EXP => 3000 Then Mining Level = 3  And so on...  Hope this helps.
0 Beefy Kasplant Posted January 19, 2019 Posted January 19, 2019 Levels aren't even really necessary. Just the experience is enoughÂ
0 Worldofjimmy Posted January 20, 2019 Author Posted January 20, 2019 10 hours ago, Ainz Ooal Gown said: If your using player variables for example "Mining EXP" & "Mining Level" and want the "Mining Level" to increase when "Mining EXP" gets to a certain point you can use a condition for player variable "Mining EXP" is equal to or greater than.  Example:  Condition: Is Mining EXP => 1000 Then Mining Level = 1 Else Condition: Is Mining EXP => 2000 Then Mining Level = 2 Else Condition: Is Mining EXP => 3000 Then Mining Level = 3  And so on...  Hope this helps.  This is the solution for my problem Thanks for helping, I made this tiny tutorial with this final piece. Â
0 Ainz Ooal Gown Posted January 20, 2019 Posted January 20, 2019 12 hours ago, Dashplant said: Levels aren't even really necessary. Just the experience is enough Depends on if he wants a level variable to display to players to show what level they are
0 Beefy Kasplant Posted January 20, 2019 Posted January 20, 2019 11 minutes ago, Ainz Ooal Gown said: Depends on if he wants a level variable to display to players to show what level they are  Sure, but that's just for show. In the backend it's easier to just stick with experience. Â
0 Ainz Ooal Gown Posted January 20, 2019 Posted January 20, 2019 (edited) 24 minutes ago, Dashplant said:  Sure, but that's just for show. In the backend it's easier to just stick with experience.  Ah yeah total agree with that, but I always have it so a player can see his level and normally keep EXP hidden unless they run a /command  EDIT: Wooop! 100th Post! Edited January 20, 2019 by Ainz Ooal Gown Edit as hit 100th post! :D Worldofjimmy 1
0 Khaikaa Posted January 20, 2019 Posted January 20, 2019 Take a look to this tutorial I made a few ago, maybe it will give you some ideas: Â Â Worldofjimmy 1
Question
Worldofjimmy
Hello,Â
Â
Im trying to make a skill level up when it hit a certain amount of experience points.
So far i managed to figure out how to gain experience points on a newly created skill. For example Mining.
what I can’t figure out is how to make the skill level up on X experience points. I tried to use a conditional but it got stuck in a loop.
Â
Anyone who might have a solution?
7 answers to this question
Recommended Posts