HasLOS
HasLOS() tests to see if a target is in view of a look_thing and returns a boolean value. The look_thing does not have to be facing the target for HasLOS() to return true. Syntax:
boolean
=
HasLOS(look_thing, target);
Alternatives:
IsAITargetInSight()
IsThingVisible()