ID:179513
 
I ran into another problem. In my proc "GroupCheck()" I want to make it so that if "Heck_Leader" is within 1 space of "Zeon", "Zeon" starts walking, if not he waits for "Heck_Leader". But instead not even one NPC moves.

so heres my code ,the indenting looks to little here but i had to indent less so the bulky code would fit on the line.

mob
proc
GroupCheck()
if(/mob/Gang1/Heck_Leader in oview(1))
Walk()
else
GetTogether()
spawn(10)GroupCheck()
Walk()
step_rand(/mob/Gang1/Zeon)
GetTogether()
walk_toward(/mob/Gang1/Heck_Leader,/mob/Gang1/Zeon,1)
Gang1
Zeon
Stats//his stats
New()
GroupCheck()
Heck_Leader
Stats//his stats