Jumping Event Help

Hi all,

I'm trying to make an event (parallel) that allows the "player" to jump 1-3 spaces in front, behind, or to the side of them using only the event system. Does anyone have insight on how to make this work?

Here is what I currently have working. Jump Variable changes from 0 to 1 when the player presses the shift button (Button will change just the testing button for now). When the Variable is at a 1 on the map that has the parallel event, it jumps the player -4 x and 1 y. Then it sets the variable back to 0 to avoid infinite jump loops and needs to be reactivated via the player's button input press. Not sure how to evolve it so that the player can choose a direction and a number of spaces for the jump.
I recall making a "Roc's Feather" type item to do this a while back. I used conditional branches to check if directional buttons were being pressed when the player pressed the input for the jump. So something like If (up + a) else if (left + a) else if (right +a) else if (down + a) else (). I had a neutral option so the player could jump where they were standing as a last case since I thought it might come in handy.
I recall making a "Roc's Feather" type item to do this a while back. I used conditional branches to check if directional buttons were being pressed when the player pressed the input for the jump. So something like If (up + a) else if (left + a) else if (right +a) else if (down + a) else (). I had a neutral option so the player could jump where they were standing as a last case since I thought it might come in handy.

What happened if they tried to jump at a wall?
(1)If BUTTON is pressed:
(2)if Variable/Switch(X) is ON:
/*if a button common event plugin is present skip (1) use (2) if you want to toggle jumping being available or not on certain situations/maps*/
If player is facing up
> jump coordinates
else
If player is facing down
>jump coordinates
else
If player is facing left
>jump coordinates
else
If player is facing right
> jump coordinates

I used a "Button common events" Plugin to skip the first "If button is pressed" check, you could make impassable stuff with region checks but havent tested that part.
(1)If BUTTON is pressed:
(2)if Variable/Switch(X) is ON:
/*if a button common event plugin is present skip (1) use (2) if you want to toggle jumping being available or not on certain situations/maps*/
If player is facing up
> jump coordinates
else
If player is facing down
>jump coordinates
else
If player is facing left
>jump coordinates
else
If player is facing right
> jump coordinates

I used a "Button common events" Plugin to skip the first "If button is pressed" check, you could make impassable stuff with region checks but havent tested that part.
Ah yes, region checks. Truthfully forgot about that. Thanks a bunch!

Original thread: https://forums.rpgmakerweb.com/threads/jumping-event-help.118862/