I am working on a MUD.
My movement is based off of step()
Everything is working fine. However... When the player moves say east it works perfectly... You have a gun... You fire in the direction you are facing. You can also aim in a direction and it fires in that direction. Now when you move it changes the direction to the direction the player just moved in. I want to override that and maintain the same direction while moving and make the player have to change directions by aiming.
Aug 11 2012, 12:46 pm
Best response
|
|
Override Move(). Save the direction, execute the default movement, then set their direction back to what it was.
|
I'm not at my desktop right now. Think ya could write out exactly Whachu mean for simple sakes so it's written out and I can understand Whachu mean without having to trial/error! I've also never used override before...
|
Override isn't some command. It's something you do. If you don't know how to override a procedure, then start here:
http://www.byond.com/docs/guide/ |
In response to IScet
|
|
Trial and error is a part of learning.
|