Garry's Mod Wiki

Entity:VisibleVec

boolean Entity:VisibleVec( Vector pos )

Description

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

This is achieved similarly to a trace.

Arguments

1 Vector pos
The position to check for visibility

Returns

1 boolean
Within line of sight

Page Links


Special Pages


Wikis

?

Render Time: 35ms

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