there is a way to like, press 1 and use a item?
MV Press to Use Item
JS Plugin RequestsYou could use Yanfly's Button Common Events to assign keys to call common events. Those can't normally "use" an item because that pulls up additional scenes like targeting the item's effects on a part member and such.
If you're making, like, an ARPG where there's just one actor and using an item will have an effect without using the Item scene, whatever ARPG plugin you're using might have plugin commands or script calls you could use from a common event.
Or you can get some more low-level code that will use an item on an actor in a predefined way and call that from the common event.
If you're making, like, an ARPG where there's just one actor and using an item will have an effect without using the Item scene, whatever ARPG plugin you're using might have plugin commands or script calls you could use from a common event.
Or you can get some more low-level code that will use an item on an actor in a predefined way and call that from the common event.
Parallel common event that detects button being pressed, then uses the item.
unfortunately there is no "use item" event command
Going that route is a lot more complex as you'll need to make the effect by commands and then remove the item from inventory as if it had been used.
and the simulation of the effect with event commands is not always the same as the item use.
Yeah, what I had to do is to use the "select item" plugin command. Then at the end run a common event that has a conditional branch that checks the variable stored from the select item command. Then depending on the variable's value it runs another common event doing the thing I wanted associated with using the item. Really tedious but I couldn't think of another way.
The way ChronoEngine does it is the items are basically premade events on a template map tied back to an item database entry through comment tags. You can then assign the item to a button for instant use by calling that event from the template map.
Moved to: Plugin Requests
Original thread: https://forums.rpgmakerweb.com/threads/press-to-use-item.157838/