One more thing: you may consider to implement a light detector as seen in splinter cell. It's kind of a single sensor for global illumination, gathering how bright the players location is lit. So if he's sneaking in the dark, the guards should ignore him.