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!
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?
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.
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
well, with script you are free to decide which button to use for activate the event right?
It's the same with the conditional branch command. Look in the command's window.