for(var/mob/human/m in oview(1))
Problem description:
Ok, this is really simple, but I don't know how to do it...
When I use this code on NPCs for example, to make NPCs attack players, it works for the first time... But if the player dies for the NPC or run away, the NPC doesn't attack any other player... That is because he attacks only the player "m"... How can I do a way to after the players is not on his view, to resent this "m"?
Sorry, I don't know if you got it :S
Resources are your friend.