mob/Move(loc, dir, forced=0)
if(forced)
return ..()
moveTicks++
if(moveTicks >= 1000)
moveTicks= 0
..()
//Connect edges of the map
if(z in WRAP_PLANETS_LIST_NUMBERS)
if(x == world.maxx)
x= 2
if(y == world.maxy)
y= 2
if(x == 1)
x= world.maxx-1
if(y == 1)
y= world.maxy-1
Problem description:
I use this code to move characters. I added the extra parameter "forced" for when I want to manually move a character through code. Ever since I added it, the regular movement (using arrow keys) is all jerky, instead of sliding when a key is tapped, it jumps/teleports you to the next square.
Is the extra parameter not calling the proper Move() proc or something for the arrow keys anymore?
EDIT: Everything is doing this, even objects... How would the mob/Move() effect objects too?
http://www.byond.com/members/ BYOND?command=view_post&post=117967