Enabling Yanfly's Smart Jump Only At Certain Points

Is there a way to make Yanfly's Smart Jump only available at a certain part on my game?


For example, I don't want the players to be able to jump all through out my game, from beginning to end, I only want the players to be able to use the button command to jump over stuff on a certain mission in a map. In other words, the player cannot jump in the beginning of the game, but as they keep playing, they will learn a new skill and that is the ability to jump.


I have tried doing this, but I can't seem to figure it out. I was wondering if any of you know how to do this. I have installed Yanfly's Button Command and Smart Jump plug in.
I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.
This response is over 3 months late, but I did this with a common event and utilized Yanfly's Button Common Events.

First, I set SmartJump Equal Regions parameter to 10 and that's it. This way, SmartJump will only jump when standing on Region 10.

Next, I made a common event record 3 variables: Player X, Player Y, and JumpSpot. X and Y are current map coordinates. Jump Spot records the Region ID that I'm currently standing on (recorded by the X and Y variables).

Then it's just a matter of a conditional statement.
If Jump Spot = 10 (10 = Region ID)
SmartJump 2 (2 = jump 2 spaces)
Else
Nothing (Could also put an error sound effect here so the player knows they cannot jump there)
End
This response is over 3 months late, but I did this with a common event and utilized Yanfly's Button Common Events.

First, I set SmartJump Equal Regions parameter to 10 and that's it. This way, SmartJump will only jump when standing on Region 10.

Next, I made a common event record 3 variables: Player X, Player Y, and JumpSpot. X and Y are current map coordinates. Jump Spot records the Region ID that I'm currently standing on (recorded by the X and Y variables).

Then it's just a matter of a conditional statement.
If Jump Spot = 10 (10 = Region ID)
SmartJump 2 (2 = jump 2 spaces)
Else
Nothing (Could also put an error sound effect here so the player knows they cannot jump there)
End

Thank you for the answer! 😀 I decided to not use this jump mechanic in my game, but now I might consider using it for my next game.

Original thread: https://forums.rpgmakerweb.com/threads/enabling-yanflys-smart-jump-only-at-certain-points.72765/