Hi guys! I need some help!
I am creating a mining system! In my game, mining is a skill just like a proficiency where the more you use it, the more it becomes stronger. So, the more you mine, the more your level in this proficiency grows and more reward you get from mining! Imagine Skyrim, you know when you are fighting with that bow and suddenly, the notification: Archery Increased to 50... that's the idea!
Now, the thing is: how can I make a script (or even a Conditional Branch) to check the very moment the Mining Skill gains a level and that at this very moment a notification appears? I tried with a conditional branch using variables and also with script call. In the last day I read the plugin.js over and over, tried what I could (a lot xD). Tried Scripts...
The max I could do is this:
I can already mine and earn XP, my Script have a common event linked to notify me when the Mining Skill levels up. When I get Level 1, the game notifies me but then it notifies me every time I mine (without getting a new level). I got that logically, the code is "locked" in the "skillMasteryLevel(17) == 1" but how do I get out of this? I'd need to store the mining skill level and to add a new value each time it levels up and then make the common event to check it? How do I do this in this case?
Please Help!!
I am creating a mining system! In my game, mining is a skill just like a proficiency where the more you use it, the more it becomes stronger. So, the more you mine, the more your level in this proficiency grows and more reward you get from mining! Imagine Skyrim, you know when you are fighting with that bow and suddenly, the notification: Archery Increased to 50... that's the idea!
Now, the thing is: how can I make a script (or even a Conditional Branch) to check the very moment the Mining Skill gains a level and that at this very moment a notification appears? I tried with a conditional branch using variables and also with script call. In the last day I read the plugin.js over and over, tried what I could (a lot xD). Tried Scripts...
The max I could do is this:
I can already mine and earn XP, my Script have a common event linked to notify me when the Mining Skill levels up. When I get Level 1, the game notifies me but then it notifies me every time I mine (without getting a new level). I got that logically, the code is "locked" in the "skillMasteryLevel(17) == 1" but how do I get out of this? I'd need to store the mining skill level and to add a new value each time it levels up and then make the common event to check it? How do I do this in this case?
Please Help!!