CGUnit_C::UpdateSheatheForAnimation
function · objectlayer · primitive
- Address
0x5fdf80· 506 bytes, up to0x5fe179- Meaning
- Sets the sheathe state the current animation's AnimationData row calls for; nocks ammunition for 112
- Confidence
- verified, proof one
- Finding
- objectlayer/unitanim#playing-an-animation
Finding: Playing an animation in objectlayer: unit animation
0x5fe2f0(anim) plays an animation on the body, the upper body or the mount. An unloaded model
keeps it pending at +0xd64. A dead unit, or one with bit 0x2000, takes only death animations;
bits 0x40000 and 0x80000 (a lift-off, landing or knockdown) refuse it. Special1H and Special2H
become the unarmed or two-handed form. A swing over a swing restarts only the upper body. Moving
animations scale their speed to the mover's. The tracks then play through 0x5fdba0, and the
sheathe state follows the new animation.
The derivation is in the doc.
Callers 1
- CGUnit_C::PlayAnimation objectlayer
Callees 10
- ReadGuidAt objectlayer
- IsActivePlayerUnit objectlayer
- IsSwingAnimation objectlayer
- CGUnit_C::GetCurrentAnimation objectlayer
- IsRangedAttackAnimation objectlayer
- CGUnit_C::HasAttackTarget objectlayer
- CGUnit_C::SetSheatheState objectlayer
- CM2Model::PlayAnimation models
- CM2Model::GetParent models
- CM2Model::Attach models
Calls and jumps by a bare address, from tables/calls.tsv.