Mod:Creation Kit/HasDirectLOS - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Checks to see if this reference has line-of-sight to the target object.

Parameters

 * akTarget: The object to check line-of-sight to.
 * asSourceNode: The node to cast the line of sight check from. If empty, will cast from the root of the object.
 * Default: ""
 * asTargetNode: The node to cast the line of sight check to. If empty, will cast to the root of the object.
 * Default: ""

Return Value
True if this reference has line-of-sight to the object.