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: 30ms

Session 0
DB GetPage 2
Generate Html 6
SaveChanges 8
Render Body 0
Render Sidebar 11