MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / UTIL_FindClientInPVS

Function UTIL_FindClientInPVS

src/game/server/util.cpp:2200–2215  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Returns a client (or object that has a client enemy) that would be a valid target. If there are more than one valid options, they are cycled each frame If (self.origin + self.viewofs) is not in the PVS of the current target, it is not returned at all. Input : *pEdict - Output : edict_t -------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

ShouldRemoveThisRagdollFunction · 0.85
RadiationThinkMethod · 0.85
ThinkMethod · 0.85
IsOkToSpeakMethod · 0.85
FindEntityProceduralMethod · 0.85
ActorInPlayersPVSMethod · 0.85
RunTaskMethod · 0.85
RebalanceThinksMethod · 0.85
CheckPVSConditionMethod · 0.85
GatherConditionsMethod · 0.85
SpawnHeadGibMethod · 0.85
BarnacleThinkMethod · 0.85

Calls 3

GetContainingEntityFunction · 0.85
UTIL_FindClientInPVSGutsFunction · 0.85

Tested by

no test coverage detected