It is possible to make an event when the user press a specific hotkey/button?

So, here i am again. I'm sorry for posting too much question this day. I'm in a rush, and i don't think that i can post my other question at the same thread. So here it is:

I want to make an 'Auto Jump' event that if i pressed 'Space' hotkey or any hotkey/button except arrow, up, left, down, right.
I already know how to make 'Auto Jump' event and use it when it needs.
But what i want is automatically 'Auto Jump' without any event near you or with you. Just if i pressed 'Space' button. The character will jump anywhere.
Is there any extra plugins for there? I'm looking forward. Thanks.
You could do this with a Parallel Common Event.
  • This event would contain a conditional branch to check if the key is being pressed down.
    • If so, then it would have a Move Route command to make the player jump.

If you would prefer to use a plugin, this would be the best choice:
EDIT:
From Frogboy's post, here is the link to the Yanfly Smart Jump plugin:
I believe that Yanfly's Button Common Events could be of use to you

http://yanfly.moe/2016/01/23/yep-061-button-common-events/

This plugin allows you to assign common events to nearly any button on the keyboard.

*whoops, ninja'd!*
I'm pretty sure Yanfly has a "smart jump" plugin as well. It makes sure that you don't jump into a wall or something.
I'm pretty sure Yanfly has a "smart jump" plugin as well. It makes sure that you don't jump into a wall or something.

Yep! Here is Yanfly's Smart Jump plugin. Might make things easier for you.
If you intend to make a Parallel Common Event, don't forget to add a Conditional Branch that checks for the following script:
Code:
!$gameMap.isEventRunning()
Which checks if another event is running. More specifically, it checks for running events that aren't Parallel.

This is useful to prevent your event from running while a cutscene is happening, or a character is talking, etc.


Alternatively, you can check for
Code:
$gameMap.isEventRunning()
instead (without the exclamation mark in front).
Inside the Branch, you choose "Exit Event Processing".

It would make your script a little bit easier to read, since your actual code would be below the Branch instead of inside it.


So to summarize:
Code:
If : Script : $gameMap.isEventRunning()
    Exit Event Processing
: End
How can i make a conditonal jump with smartjump and button commands plugins by yanfly?. I want a conditional jump like if the character buys an item called: "Jump boost" then he will be able to use the Jump system which is only useable when you buy the item. Any help please?
I think I have a solution and it even works! Since Yanfly's Smart Jump uses a common event you can assign this event to the button anyway but make a check in the event if the actor equiped the boots like this:
upload_2018-7-10_6-7-6.png


I will PM you because I edited my response and you may not receive an alert.

Original thread: https://forums.rpgmakerweb.com/threads/it-is-possible-to-make-an-event-when-the-user-press-a-specific-hotkey-button.93598/