CGUnit_C::PlayTrack
function · objectlayer · primitive
- Address
0x5fdba0· 474 bytes, up to0x5fdd79- Meaning
- Plays one track state on the body or key bone and sets +0xd58 lock bits by animation through 0x5fdd90
- 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 9
- SplatVector3 loadingscreen
- ReadGuidAt objectlayer
- IsSpellCastAnimation objectlayer
- IsSwingAnimation objectlayer
- IsDeathAnimation objectlayer
- IsReadySpellAnimation objectlayer
- IsReadyAnimation objectlayer
- CM2Model::GetSequenceInfo models
- CM2Model::PlayAnimation models
Calls and jumps by a bare address, from tables/calls.tsv.