RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Help with run button

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 89
Hey, I need help making a run button in RPG maker 2k3. In pressing and holding the shift key, you increase you movment speed. But, when you let go of the shift key, your movment speed returns to normal. I've seen it done before, so I know its possible. If someone knows how, can they please post the script, thanks.

*
Rep:
Level 97
Definitely better than Hitler.
2014 Best IRC Chatterbox2014 Best Musician2013 King of RMRK2013 Best Musician2013 Best Use of Avatar and Signature Space2013 Funniest MemberFor the great victory in the Breakfast War.2012 Best Username2012 Best MusicianFor frequent good quality Wiki writing [citation needed]2011 Funniest Member2011 Best MusicianMost entertaining member on the IRC2010 Most Missed Member
OK, first, you can't use scripts in 2k3, so I'm moving this.

Secondly... I've tried this before, and I've never quite gotten it to work, but I know you have to use Common Events, set to parallel process. I've gotten it to the point where either you just start out moving fast and you push shift to slow down and you can't get fast again, or the other way around, but I can't get it to toggle.

It's actually not that complicated though. If I sat down and worked on it I could get it, but I haven't worked on my game in a while, just like most people. lol
:tinysmile:

******
Rep:
Level 91
well reach the point halo stated (parallel common event)
and by using move event change the hero speed to 5 when the run button is pushed or back to 4 when it isn't
aka

if button (run button) is push then
-move event: change speed- 5
else
-move event: change speed- 4

you can also stop him from running all the time by

if switch(stop it) = off then
-if button (run button) is push then
--move event: change speed- 5
--wait 1 frame
--variable(running too much) +1
--if variable(running too much) >= 50 then
---variable(running too much) = 0
---switch(stop it) = on
---move event: change speed: 4
-else
--move event: change speed- 4
--if variable(running too much) > 0 then
---wait 1 frame
---variable(running too much) -1
else
-wait 1 frame
-variable(free) +1
--if variable(free) >= 70 then
---variable(free) = 0
---switch(stop it) = off
holy shit my sig was big!

*
Rep: +0/-0Level 89