Garry's Mod Wiki

CNavArea:IsPartiallyVisible

  boolean CNavArea:IsPartiallyVisible( Vector pos, Entity ignoreEnt = NULL )

Description

Returns whether this CNavArea can see given position.

Arguments

1 Vector pos
The position to test.
2 Entity ignoreEnt = NULL
If set, the given entity will be ignored when doing LOS tests

Returns

1 boolean
Whether the given position is visible from this area