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

Method OnTakeDamage

src/game/server/props.cpp:1040–1169  ·  view source on GitHub ↗

----------------------------------------------------------------------------- UNDONE: Time stamp the object's creation so that an explosion or something doesn't break the parent object and then break the children who spawn afterward ? Explosions should use entities in box before they start to do damage. Make sure nothing traverses the list in a way that would hose this.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

GetBreakableDamageFunction · 0.85
clampFunction · 0.85
UTIL_TraceLineFunction · 0.85
GetInflictorMethod · 0.80
WorldSpaceCenterMethod · 0.80
ScaleDamageMethod · 0.80
FireOutputMethod · 0.80
GetDamageMethod · 0.45
GetAttackerMethod · 0.45
SetMethod · 0.45
SetDamageMethod · 0.45

Tested by

no test coverage detected