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

DB GetPage 26
Generate Html 2
SaveChanges (1) 15
Render Body 0
Render Sidebar 6