[RMXP] How to Disable Jump in GasolineWaltz,s Run/Dash/Jump Script

Started by cdaz, August 10, 2015, 08:48:50 am

Previous topic - Next topic

cdaz

In his Script he said.
#Run or Jump can be disabled / enabled by calling
#  $game_player.toggle_act('disable/enable', 'jump/run').

And when I call Script and put "$game_player.toggle_act('disable','jump')" I got Syntax Error.

I it's maybe easier if I can get example from his demo directly.
But his files is gone. I can't get demo anymore.

So can someone help me with this?

ForeverZer0

Would you be able to post a screen of your script call as it is written in your event page?
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

KK20

You probably had your script call look like

$game_player.toggle_act
('disable','jump')

when it should be

$game_player.toggle_act('disable',
'jump')

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

cdaz

Quote from: ForeverZer0 on August 10, 2015, 10:40:29 am
Would you be able to post a screen of your script call as it is written in your event page?

Yes this is my call script screen



Quote from: KK20 on August 10, 2015, 12:05:41 pm
You probably had your script call look like

$game_player.toggle_act
('disable','jump')

when it should be

$game_player.toggle_act('disable',
'jump')



That's it thank you very much.

ForeverZer0

Place the first bracket of the parentheses on the first line. That should fix it.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.