Garry's Mod Wiki

ents.FindInPVS

ents.FindInPVS

  table ents.FindInPVS( any viewPoint )

Description

Finds all entities that lie within a PVS.

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

Arguments

1 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

1 table
The found Entitys.

Special Pages


Wikis

?

Render Time: 71ms

DB GetPage 47
Generate Html 5
SaveChanges (1) 11
Render Body 0
Render Sidebar 6