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

Function UTIL_BPerformNearMiss

src/game/client/cdll_util.cpp:1327–1377  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: Performs a near-miss check of pEntity against the local player. Plays pszNearMissSound in their ears and returns true when a near- miss is detected. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CheckNearMissMethod · 0.85
ClientThinkMethod · 0.85

Calls 12

GetLocalPlayerFunction · 0.85
AngleVectorsFunction · 0.85
UTIL_TraceLineFunction · 0.85
DidHitMethod · 0.80
IsAliveMethod · 0.45
GetTeamNumberMethod · 0.45
GetAbsOriginMethod · 0.45
GetAbsAnglesMethod · 0.45
DistToSqrMethod · 0.45
DistToMethod · 0.45
entindexMethod · 0.45

Tested by

no test coverage detected