ID:149465
 
I enter a proc named npcmve, call a var with a rand of 1,4. I then place the 4 definitions of each movement like so,
npcmve(mob/M)
var/mobmve
mobmve=rand(1,4)
if(mobmve==1)
M.dir=NORTH
M.loc=locate(x,y+1,z)
sleep(10)
npcmve()
and i place the proc in the right spot i think,
Bard
icon='npc.dmi'
icon_state="bard"
npcmve()
Why is this not responding?
I suggest you look up walk_rand(), and step_rand, they will make your life alot easier.

Example:

npcmove()
sleep(rand(10,30))
step_rand(src)
spawn() npcmove()
In response to Nadrew
thanks for the help