I am not sure where I should post this problem. Anyways I am using MV and I am trying to trigger an event when you press a button. For example, if I press the "X" key it causes an event to trigger.
Triggering an Event with a button press
RPG Maker MV SupportParallel Process event: add a conditional branch and set the button condition on the 4th page.
@KazukiT In the setup mentioned by @MushroomCake28 you would want to select the 'Cancel' option on the button drop down list to make it work with the "X" key specifically, since "X" is used to cancel along with Escape. This does, however, if I am not mistaken, mean that any use of either button would potentially trigger the event...so if a player were to, say, exit a menu while on the map and press escape an extra time, they might trigger the event. Another option might be to use PageUp and/or PageDown for such events as they go more or less unused.
@Math - yeah, most buttons that share a function usually have the same internal symbol used. So if he wants to use "X" any other button that shares the same internal key will also trigger the event
Unless he gets a keyboard plugin which changes this behavior.
Unless he gets a keyboard plugin which changes this behavior.
Tech Support is for when you can't get the engine to run.
Moved to: RPGMaker MV
Moved to: RPGMaker MV
Original thread: https://forums.rpgmakerweb.com/threads/triggering-an-event-with-a-button-press.110072/