CGUnit_C::PlayWoundAnimation
function · objectlayer · primitive
- Address
0x60ea70· 386 bytes, up to0x60ebf1- Meaning
- Plays 10, 9 or 8 for a hit by critical and attack state, upper body when moving, unless suppressed
- 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 6
- PlayUnitSpellVisualKit objectlayer
- CMissile::ArriveHit objectlayer
- CEffect::OnModelEvent objectlayer
- ShowSwingOnVictim objectlayer
- PlaySpellImpactsOnHits spell
- PlaySpellImpactOnUnit spell
Callees 9
- SplatVector3 loadingscreen
- ReadGuidAt objectlayer
- IsReadyAnimation objectlayer
- CGUnit_C::LooksDead objectlayer
- CGUnit_C::SuppressesWoundAnim objectlayer
- CM2Model::IsLoaded models
- CM2Model::GetSequenceInfo models
- CM2Model::GetKeyBoneAnimId models
- CM2Model::PlayAnimation models
Calls and jumps by a bare address, from tables/calls.tsv.