I want to assign a key to open individual menus (Items, Stats, Equip, etc.), is there a way to use a script or maybe an available plugin that fits my needs?
Help with Keys
RPG Maker MV SupportYanfly's Button Common Events lets you map common events to keyboard keys. You'll have to either look into a tiny bit of javascript in a Script command, or find additional plugins for opening some of those menus (stats, equip) though, because they need you to specify which actor you're looking at.
Use the Yanfly script linked above and assign the keyboard button(s) to the common event(s). Make sure the common events don't have any trigger.
In the common event(s), put any of these as a Script call event command.
As Doktor_Q said there are some considerations for which actor is shown if there are multiple actors in the party. Here is the default behavior:
In the common event(s), put any of these as a Script call event command.
Code:
SceneManager.push(Scene_Status);
Code:
SceneManager.push(Scene_Equip);
Code:
SceneManager.push(Scene_Skill);
Code:
SceneManager.push(Scene_Item);
- The first time it's going to open the menu of the first actor in the party (besides Item of course because that's not linked to a actor).
- Then the player can cycle through the actors with PageUp and PageDown.
- After the menu is closed, the next time it will open will be on the last actor that was open.
Original thread: https://forums.rpgmakerweb.com/threads/help-with-keys.88834/