Handles the FailOnSee and FailOnKO cheats. If the config variable FailOnSee is set, the mission will fail if a creature sees the player. If FailOnKO is set, the mission fails if a creature is knocked out. The mission is failed by marking all visible objectives as “failed”. Only the first 20 objectives are checked. This script is placed on the Creature archetype and handles the messages received by AI that trigger the cheat. Rats, Eyeball Plants, and AI on a friendly team will not fail the mission if they see the player.