CGUnit_C::PlayDeathAnimation
function · objectlayer · orchestration
- Address
0x60ea30· 56 bytes, up to0x60ea67- Meaning
- Plays 1 Death, or 131 Drown when swimming, unless a death animation already plays
- Confidence
- verified, proof one
- Finding
- objectlayer/unitanim#reactions-and-move-animations
Finding: Reactions and move animations in objectlayer: unit animation
Hits, parries, deaths and move messages play one-shot animations. A wound plays 10 for a critical hit, 9 while attacking, else 8, upper body only when moving. A parry plays by weapon type. A death plays 1, or 131 swimming. Move messages start the jump, the fall, or a re-pick.
The derivation is in the doc.
Callers 4
- CGUnit_C::OnDynamicFlagsChanged objectlayer
- CGUnit_C::OnStandStateChanged objectlayer
- CMissile::ArriveHit objectlayer
- PresentUnitDeath objectlayer
Callees 3
- IsDeathAnimation objectlayer
- CGUnit_C::GetCurrentAnimation objectlayer
- CGUnit_C::PlayAnimation objectlayer
Calls and jumps by a bare address, from tables/calls.tsv.