What Exactly does Empty Type Name Error Mean? in Developer Help
spawn() proc/act() for() if(health<=0) break
mob/NPC/Zombine New() act() proc/act() spawn() //don't hold up the caller (New()) while(src.health > 0) //if the zombie is deleted once dead, then you don't need a condition here viewers(src) << "[src] is a zombie" sleep(10) //wait a second //if the loop ends, then it means zombine's dead.
Well actually, how can I make a loop that works as the mob is still alive, but it doesn't necessarily have to call a proc?