ents.FindInPVS

From Garry's Mod
Jump to: navigation, search
 ents.FindInPVS( )

Description

Finds all entities that lie within a PVS.

NOTE The function won't take in to account AddOriginToPVS and the like.

Arguments

any viewPoint

Entity or Vector to find entities within the PVS of. If a player is given, this function will use the player's view entity.

Returns

table

The found entities.
Personal tools
Navigation