Jump Script with Item or Skill Binding

Hello.

I hope somebody could help me.

Ok, here is the Problem: I'm in the need of a Jump Script.

Errr ... one step back. I know, there are a few jump-scripts out there, the google-advice is not neccessary at all. But all Jump-Scripts i found, work with a key-binding to initiate the jump. But i need a Jump-Script initiated by a script call, so i can use the jump with an item or skill ... similar to the Jump-Feather in Zelda: Links Awakening.

I think, it is not a regular full-script-request. Maybe somebody could pick up an existing jump script and modify it, or - at least - explain to me, how i start the jump with a Script call, instead of a key-Binding.
well, you can make the skill call up a common event that calls whatever command/method it is that to initiate the jump... you just need to go to the jump script, find where it processes the keypress and see what's the method that it calls
well, you can make the skill call up a common event that calls whatever command/method it is that to initiate the jump... you just need to go to the jump script, find where it processes the keypress and see what's the method that it calls
Well ... i think that is the problem. I tried to find the keypress process in several scripts, but Ruby-Scripts sounded completely greek to me. 😉

Here is a jump-Script i found. Maybe you could tell me which script call i need?

http://www.rpgmakervxace.net/topic/6371-player-jump-via-button-press/
w8, I'll take a look...

edit: well if you simply wanna make them jump it's $game_player.jump(x,y)

where x,y are the new coordinates where you should arrive after jumping

but if you wanna take into account the considerations that he placed to determine if the jump is allowable, then try to add this below the jump_by_input method (the lowest method), before the last end

def jump_by_skillreturn unless $game_switches[SOV::JumpInput::SWITCH_ID]return if $game_map.no_jump_by_input?return if @jump_cooldown > 0x_plus, y_plus = calc_jump_xyreturn if not SOV::JumpInput::JUMP_ON_SPOT and x_plus == 0 and y_plus == 0Sound.play_jump@jump_cooldown = SOV::JumpInput::JUMP_COOLDOWNjump(x_plus, y_plus)endendthen make your item run a commom event that uses the script call$game_player.jump_by_skill

BTW, that might not work with Ace since that script is for VX...

Original thread: https://forums.rpgmakerweb.com/threads/jump-script-with-item-or-skill-binding.19803/