Entity/VisibleVec

From Garry's Mod
Jump to: navigation, search
 Entity:VisibleVec( )

Description

Returns true if supplied vector is visible from the entity's line of sight.

This is achieved similarly to a trace.

Arguments

Vector pos

The position to check for visibility

Returns

boolean

Within line of sight
Personal tools
Navigation