Detect entity

Uses the AI view distance, view angle, and hearing distance to determine whether the AI that invoked this requirement can detect an entity with the following properties. Note that this checks the reputation of the targets that are seen to determine if this returns true. This is generally used in AI brains to decide if they are going to attack.