ID:270459
 
mob
var
Moveing = 0
Move_Delay = 10
Frozen = 0
Move()
if(src.Moveing || src.Frozen)
return
else
src.Moveing = 1
..()
sleep(src.Move_Delay)
src.Moveing = 0

how could i make it so,if the users speed is ,lets say, 15-80 its 9 instead of 10?
I wrote an example awhile ago that shows a cooler adaptation of a move-speed system. You can see it here: [link]
In response to PirateHead


Sorry, but that's extremly wrong. Movement delay should be built with a proc doing the var switching thingers, and an if statement in your Move(). Also, the return in Move() should be return 0 or .=0 instead of just return.
In response to DivineO'peanut
completly wrong,huh?i was using sniperjoe's movement delay...