Garry's Mod Wiki

Entity:IsLineOfSightClear

Description

Returns true if the target is in line of sight. This will only work on CBaseCombatCharacter entities.

Arguments

1 Vector target
The target to test. You can also supply an Entity instead of a Vector

Returns

1 boolean
Returns true if the line of sight is clear

Page Links


Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 3
Generate Html 12
SaveChanges (1) 9
Render Body 0
Render Sidebar 11