I've been stuck on it for the past 2 days, and am not really sure how to fix it.. I've set a speed-mechanism to my game, based on step_size, but then, any Mob in the game other than the player's mob is just jumping around instead of moving like it has been up till then.. I've tried looking into gliding, tried changing the bounds of the mobs and I've tried using all sorts of different step sizes, all to no avail..
What's more, I even tried applying any proc & verb related to the pixel_step only to Players (by checking for a Player-type before applying any changes), and nothing changed.
Before that, I've noticed that even after deleting any proc I've added and un-doing any changes I've made before, the speed-changes still applied, somehow..
I really am unsure about the cause of this, and the only code I can think about posting here is the NPC's movement, which worked perfectly up until now..
Edit: To make things clearer, the mobs seem to be jumping/teleporting instead of actually moving in pixel-movement..
Thanks in advance for anyone willing to help,
I really can't seem to find the cause for it..
proc/Walkaround()
while(src)
var/Located = FALSE
for(var/mob/Player/P in oview(10))
step_towards(src,P)
Located = TRUE
break
if(Located != TRUE)
sleep(10)
sleep(5)