Description
Returns True if an unobstructed line of sight exists between two world positions, with no geometry intersecting the ray between them. Optionally ignores player collision. Equivalent to the existing Is In Line Of Sight value but accepts raw vectors instead of players.
Snippet
Is Line Of Sight Clear(Position Of(Event Player), Position Of(Attacker), False);
Properties
Returns: Boolean
Parameters: Start, End, Ignore Players
Start
Type: Vector, Default: Vector(0, 0, 0)
The origin of the line of sight check.End
Type: Vector, Default: Vector(0, 0, 0)
The target of the line of sight check.Ignore Players
Type: Boolean, Default: False
If True, player collision volumes are excluded from the check.