The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: gotix on December 30, 2006, 03:43:12 AM

Title: can anyone make me a movement script please?(resolved)
Post by: gotix on December 30, 2006, 03:43:12 AM
I have an object, i want to move it with the WASD keys. Can anyone give me the script for this, and teach me where to copy it to? (I am an absolute noob. wee.)
Title: Re: can anyone make me a movement script please?
Post by: :) on December 30, 2006, 04:49:42 AM
you can use events...its sorta hard I think but I'm kinda sure its possible
Title: Re: can anyone make me a movement script please?
Post by: Lunais on December 30, 2006, 05:59:09 AM
Isn't there a common event for key input? I'm pretty sure you can set that as the trigger and then use Move Event (page 2) and move up/down/left/right...I also heard that the key input only works for numbers and arrows though, so I might be wrong. I've never used it.
Title: Re: can anyone make me a movement script please?
Post by: Winged on January 01, 2007, 07:15:33 AM
I think theres a default script which controls the buttons, but I'm not sure. Eventing should work, thats if you do know how to use them..

~Winged
Title: Re: can anyone make me a movement script please?
Post by: italianstal1ion on January 01, 2007, 06:49:12 PM
This is easily done by events using conditional branches. Although for some reason the event moves TWO squares instead of one. Not sure whats wrong there, but here's how you do it:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi92.photobucket.com%2Falbums%2Fl14%2Fitalianstal1ion%2Fanim002.jpg&hash=ef9cd93dd11d5d63d1e0cdd109e94abcc02a6972)
Title: (resolved)
Post by: gotix on January 02, 2007, 03:05:56 PM
thanks