MCPcopy Create free account
hub / github.com/ValveSoftware/halflife / CheckTraceHullAttack

Method CheckTraceHullAttack

dlls/combat.cpp:1133–1161  ·  view source on GitHub ↗

========================================================= CheckTraceHullAttack - expects a length to trace, amount of damage to do, and damage type. Returns a pointer to the damaged entity in case the monster wishes to do other stuff to the victim (punchangle, etc) Used for many contact-range melee attacks. Bites, claws, etc. =========================================================

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

UTIL_MakeVectorsFunction · 0.70
UTIL_MakeAimVectorsFunction · 0.70
UTIL_TraceHullFunction · 0.70
ENTFunction · 0.70
TakeDamageMethod · 0.45

Tested by

no test coverage detected