I just bought the RMMV a week ago. I can not figure out how to put a required Level on the item. Can someone explain it to me in simple terms? Thank you for any help.
Having Issues Using YEP Item Requirements
Javascript/Plugin SupportI have moved this thread from JS Plug-in Releases (RMMV) to JavaScript/Plugin Support.
Try this in an item's Note section:
<Custom Enable Requirement>
condition = battler.level >= 5;
</Custom Enable Requirement>
This should make it so a battler cannot use an item unless they are greater than or equal to level 5. Adjust as needed.
<Custom Enable Requirement>
condition = battler.level >= 5;
</Custom Enable Requirement>
This should make it so a battler cannot use an item unless they are greater than or equal to level 5. Adjust as needed.
Just to put it out there, looking at the user's level is literally the example in the plugin instructions for that notetag 😉
Which is exactly where I found the information to make my first post, lol.
Is it in there
...I may be blind! I looked through the help page for an hour. Thanks for the help.I put this in the note box and have the plugin on. What am I doing wrong?
The notetag is correct.
Check that you have any required plugins included in your project. Check that all Yanfly plugins are in your plugin manager in the order listed on the Yanfly Engine Web site.
Make sure you're starting a new game after you change things in the database or with plugins, not loading a save game.
Check that you have any required plugins included in your project. Check that all Yanfly plugins are in your plugin manager in the order listed on the Yanfly Engine Web site.
Make sure you're starting a new game after you change things in the database or with plugins, not loading a save game.
I missed a space...thanks ATT_Turan!
I'm not sure what that means, there's nothing in your notetag that needed a space except between the words "Custom Enable Requirement".
But I'm glad you got it working.
But I'm glad you got it working.
Original thread: https://forums.rpgmakerweb.com/threads/having-issues-using-yep-item-requirements.161899/