Enabling Yanfly's Smart Jump Only At Certain Points

MasqueradeJacker

Villager
Member
Joined
Jul 10, 2015
Messages
7
Reaction score
1
First Language
English
Primarily Uses
N/A
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.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,536
First Language
English
Primarily Uses
RMMV
I've moved this thread to Plugin Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

Mcwill

Villager
Member
Joined
Oct 12, 2016
Messages
6
Reaction score
2
First Language
English
Primarily Uses
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
 

MasqueradeJacker

Villager
Member
Joined
Jul 10, 2015
Messages
7
Reaction score
1
First Language
English
Primarily Uses
N/A
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! :D I decided to not use this jump mechanic in my game, but now I might consider using it for my next game.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:

Forum statistics

Threads
105,883
Messages
1,017,234
Members
137,608
Latest member
Arm9
Top