Worldofjimmy Posted January 19, 2019 Share 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? Link to comment Share on other sites More sharing options...
0 Ainz Ooal Gown Posted January 19, 2019 Share 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. Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted January 19, 2019 Share Posted January 19, 2019 Levels aren't even really necessary. Just the experience is enough Link to comment Share on other sites More sharing options...
0 Worldofjimmy Posted January 20, 2019 Author Share Posted January 20, 2019 On 1/19/2019 at 10:26 PM, 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. Expand This is the solution for my problem Thanks for helping, I made this tiny tutorial with this final piece. Link to comment Share on other sites More sharing options...
0 Ainz Ooal Gown Posted January 20, 2019 Share Posted January 20, 2019 On 1/19/2019 at 11:35 PM, Dashplant said: Levels aren't even really necessary. Just the experience is enough Expand Depends on if he wants a level variable to display to players to show what level they are Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted January 20, 2019 Share Posted January 20, 2019 On 1/20/2019 at 12:20 PM, Ainz Ooal Gown said: Depends on if he wants a level variable to display to players to show what level they are Expand Sure, but that's just for show. In the backend it's easier to just stick with experience. Link to comment Share on other sites More sharing options...
0 Ainz Ooal Gown Posted January 20, 2019 Share Posted January 20, 2019 (edited) On 1/20/2019 at 12:32 PM, Dashplant said: Sure, but that's just for show. In the backend it's easier to just stick with experience. Expand 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 Link to comment Share on other sites More sharing options...
0 Khaikaa Posted January 20, 2019 Share Posted January 20, 2019 Take a look to this tutorial I made a few ago, maybe it will give you some ideas: Worldofjimmy 1 Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
7 answers to this question
Recommended Posts