G.AddOriginToPVS
From GMod Wiki
Revision as of 02:05, 20 February 2011 by [PwD]Bekka (Talk | contribs)
Function | |
Syntax |
AddOriginToPVS( Vector position ) Where is this used? |
Description: | |
Adds the position to the PVS | |
Returns: | nil |
Part of Library: | Global Functions |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.AddOriginToPVS]G.AddOriginToPVS [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This example adds the point (0,0,0) to the PVS. |
---|---|
Used on | |
Code | function mySetupVis(ply) AddOriginToPVS(Vector(0,0,0)) end hook.Add("SetupPlayerVisibility", "mySetupVis", mySetupVis) |
Output | N/A |
Additional Notes
This is only useful in the SetupPlayerVisibility hook |