The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Tutorials and Eventing => Topic started by: Sthrattoff on June 24, 2008, 02:53:02 PM

Title: Easy Dash Tutorial
Post by: Sthrattoff on June 24, 2008, 02:53:02 PM
Hi...
I want to share my ten-minutes experiment results with you...

First, make a common event, call it anything. Make it parallel (the switch is up to you).
Make a conditional branch. Switch to tab 4 and activate the Script. Fill it with:
Input.press?(Input::SHIFT)
don't forget the else case.

Now, for the if case, make a move event. Player: change speed: 5.
For the else case: Player: change speed:4.

Sorry for the bad grammar and writing, but if you understand it, you'll find it useful.
Thx!
Title: Re: Easy Dash Tutorial
Post by: Kidfox70 on August 07, 2009, 12:03:52 PM
What if you want it to be able to turn off and on? Like lets say i want it to be an item that my Hero gets for some quest or something, like dashing shoes. If i want to use them, go to the menu and equip them, then when i'm playing press Shift. if i want them to be off, go to the menu and unequip them. how would i be able to do that?
Title: Re: Easy Dash Tutorial
Post by: JFloyd on August 07, 2009, 12:18:11 PM
Quote from: Kidfox70 on August 07, 2009, 12:03:52 PM
What if you want it to be able to turn off and on? Like lets say i want it to be an item that my Hero gets for some quest or something, like dashing shoes. If i want to use them, go to the menu and equip them, then when i'm playing press Shift. if i want them to be off, go to the menu and unequip them. how would i be able to do that?
You'd link the item to a common event wouldn't you?
That or make a conditional inside a conditional.
Title: Re: Easy Dash Tutorial
Post by: Grafikal on August 08, 2009, 01:34:30 AM
You do realize that conditional branches can already check what button you're pressing without having to use a script right? ...

Also, we have like 8934820342093 of these tutorials lol. I would hope by now everyone that has or has not ever touched RMXP would know how to make a dash event system in their sleep. lol
Title: Re: Easy Dash Tutorial
Post by: Sthrattoff on November 16, 2009, 09:57:37 AM
well, with script you are free to decide which button to use for activate the event right?
Title: Re: Easy Dash Tutorial
Post by: Mjustin on November 16, 2009, 04:19:51 PM
It's the same with the conditional branch command. Look in the command's window.