New()
..()
for(var/mobs in view(src))
if(istype(mobs,/mob)&&icon!='zombie.dmi')
walk_towards(src,mobs,1)
if(mobs in range(1))
mobs:health-=5
if(mobs:health<=0)
mobs:loc=locate(/area/playerStart,/area/playerStart,/area/playerStart)
mobs << "You've been killed."
else
mobs << "You've been injured!"
else
walk_rand(src,12)
Problem description:
THe problem is I can't seem to get them to do anything. When they spawn, they don't even walk in a random direction.