ID:149695
 
I need to figure out how to make it so when the player moves their player they just keep going in that direction until they start going in a new direction. I looked for a help file about this earlier, but I will check again just to make sure I didn't miss it, I already tried a couple of movement libraries(didn't help).

Also, is there a way to set different speeds for mobs?

-Canar
i thought i included that in my Easy Movement library. If not ill add it. Just use the walk() proc.

client
North()
walk(usr,NORTH,0)



-Rcet
In response to Rcet
oh, see I missed both your library and nadrews constant movement library.
In response to Canar
As for speed, it's covered in the FAQ by yours truely. You can find it in the New FAQ and the Old FAQ.
In response to Nadrew
so basically you just change the movement_delay var or whatever I set for it...
In response to Canar
I just added constant movement to my Easy Movement library. I hope it helps you.

-Rcet
I like to do this:

mob
var/speed = 1
New()
..()
anchor
sleep(src.speed)
step(src,src.dir)
goto anchor

Then you have to make sure that the user can only change their dir, but I have to go to lunch so I'll let you figure that out!

-LoW