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

Method MeleeAttack

src/game/server/episodic/npc_hunter.cpp:5075–5198  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Look in front and see if the claw hit anything. Input : flDist distance to trace iDamage damage to do if attack hits vecViewPunch camera punch (if attack hits player) vecVelocityPunch velocity punch (if attack hits player) Output : The entity hit by claws. NULL if nothing. --------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

AI_TraceHullFunction · 0.85
UTIL_ScreenFadeFunction · 0.85
IsMovablePhysicsObjectFunction · 0.85
UTIL_ShouldShowBloodFunction · 0.85
GetAttachmentFunction · 0.85
SpawnBloodFunction · 0.85
WorldSpaceCenterMethod · 0.80
VectorClass · 0.50
ToBasePlayerFunction · 0.50
UTIL_ScreenShakeFunction · 0.50
GetFlagsMethod · 0.45
ViewPunchMethod · 0.45

Tested by

no test coverage detected