ID:145476
 
Code:dont know
mob
New()//when a mob is created
sleep(20)
if(isnull(src.client))//if it's not human
ai_random_wander()//wander
return..()//continue on with normal New() (create and whatnot)
else
return..()


Problem description:I want it to make what ever icons i put on the map to walk around randomly but there is a problem with the
ai_random_wander()//wander part

the problem desc says
RandomWalk.dm:5:error:ai_random_wander:undefined proc

Euh, are you sure the proc is defined? Because that's not a build in proc. Also, try src.ai_random_wander() .
mob/monster
proc/ai_random_wander()
//code here
New()
if(!client)
ai_random_wander()
return ..()