Garry's Mod Wiki

Garry's Mod Wiki

  table ents.FindInPVS( Entity or Vector viewPoint )

Description

Finds all entities that lie within a PVS (Potential Visibility Set).

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

Arguments

1 Entity or Vector 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 sequental table<Entity>
The found Entitys.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...