2) My monsters won't randomly move...what do I do?
mob/NPC
Sheep
icon='animals.dmi'
icon_state="sheep"
density=1
var/mob/P
proc/Wander()
while(src)
var/Found = 0
for(P in oview(5))
step_towards(src,P)
Found = 1
break
if(Found != 1)
step_rand(src)
sleep(10)
sleep(5)
spawn(5)
Wander()
Click()
usr<<'Sheep.wav'
The only problem is he isn't moving.
2) Not sure about this, but change this:
for(P in oview(5))
To this:
for(P in oview(5,src))
The current version is using "usr" as the default argument, which is not good. You definitely need src in this case.