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?
ID:270459
May 17 2006, 3:51 pm
|
|
mob how could i make it so,if the users speed is ,lets say, 15-80 its 9 instead of 10? |
May 17 2006, 4:26 pm
|
|
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...
|