Help with a tricky rule.

Thank you for your suggestion. I substituted this in for the code I had, and it worked flawlessly. The only concern I have is the one you said. At the moment only one hostile person is existent at a time. If anyone thinks of another way that would work for all, tell me.

Perhaps something that checks from the person’s point of view, checking if it can see the player, etc? That way it’s processed for each person in the room? I don’t know exactly how writing this would go, any suggestions?