Hi there, everyone!
So the title's a bit of a mouthful, I apologise, but the general gist of what I'd be looking for is something that acts as an extension onto the current 'Input Number' command that comes with RPG Maker MZ. In that I'd wish to limit the highest possible number you can put into it, with the limit defined by a variable.
For an example of where I'd use this--among other things--is that I have a move where you can throw money at the enemy, and you input the number yourself via the input number command. And if you enter a number over the amount you have, I have to throw a clunky message saying that you don't have that much, and then loop back to trying to again. (I suppose I could also just have all possible money used regardless, too, but it's still not ideal.) My hope is that a plugin that can potentially ensure you can only ever input on the box the highest limit defined by the variable and that it would either wrap back around to 0 if you tried to go higher, or would just refuse to accept any further input to increase the number past that point.
I did a few searches around to see if I could find anything--as making threads is often my last resort, haha--but as far as I could see the closest thing was for MV, and maybe seemed more rigid than what I was looking for, and its plugin commands won't work with MZ regardless.
If it's more complex than I initially thought to implement, I'll happily see about getting this moved to classifieds or something as it is something I'm willing to invest in despite how limited its use case might be, haha. It's important me, darn it!
Ah, right, and I use Visustella plugins (all the main cores like message, etc.) in case this complicates things.
Thank you for your time! And if I wasn't clear enough on any details or more information is required, please let me know!
So the title's a bit of a mouthful, I apologise, but the general gist of what I'd be looking for is something that acts as an extension onto the current 'Input Number' command that comes with RPG Maker MZ. In that I'd wish to limit the highest possible number you can put into it, with the limit defined by a variable.
For an example of where I'd use this--among other things--is that I have a move where you can throw money at the enemy, and you input the number yourself via the input number command. And if you enter a number over the amount you have, I have to throw a clunky message saying that you don't have that much, and then loop back to trying to again. (I suppose I could also just have all possible money used regardless, too, but it's still not ideal.) My hope is that a plugin that can potentially ensure you can only ever input on the box the highest limit defined by the variable and that it would either wrap back around to 0 if you tried to go higher, or would just refuse to accept any further input to increase the number past that point.
I did a few searches around to see if I could find anything--as making threads is often my last resort, haha--but as far as I could see the closest thing was for MV, and maybe seemed more rigid than what I was looking for, and its plugin commands won't work with MZ regardless.
If it's more complex than I initially thought to implement, I'll happily see about getting this moved to classifieds or something as it is something I'm willing to invest in despite how limited its use case might be, haha. It's important me, darn it!
Ah, right, and I use Visustella plugins (all the main cores like message, etc.) in case this complicates things.
Thank you for your time! And if I wasn't clear enough on any details or more information is required, please let me know!