How do i make a Character move Slower/Faster?
-Is there like a proc or something?
ID:158198
![]() Oct 11 2009, 2:31 am
|
|
![]() Oct 11 2009, 2:36 am
|
|
Take a look at the move_delay variable in MacroMove.
|
You already move as fast as possible. If you want to control movement speed, your only option is to manually delay movement.
mob |
Going to point out that while you wrote "5 seconds is the maximum delay", that's not true. You could have a negative speed.
Also, next_step needs to be tmp/next_step, so it doesn't save. |
I had troubles with this for a while but I found a quick and simple way to do it.
mob/var/delay=5 |
Spunky_Girl wrote:
I wonder what happens when you sleep a negative number. Calling sleep() with a negative argument (such as sleep(-1)) causes it to do a backlog check. Only if other pending events have become backlogged will it sleep The reference is astonishingly helpful when you wonder about the interface of a procedure. |
This concept is flawed on multiple levels.
atom.Move() is one of the procedures that should provide a return value to begin with. Not to mention that the implementation should have been designed on a different level. |