CGUnit_C::PlayAnimation
function · objectlayer · primitive
- Address
0x5fe2f0· 2370 bytes, up to0x5fec31- Meaning
- Plays an animation across the body, upper-body and mount tracks after the state gates, scaling locomotion
- Confidence
- verified, proof one
- Finding
- objectlayer/unitanim#playing-an-animation
- Test
objectlayer::uh_anim_progress_difftest
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 23
- CGPlayer_C::LootCorpse objectlayer
- CGPlayer_C::LootUnit objectlayer
- CGPlayer_C::SetLootTarget objectlayer
- CGPlayer_C::SendTextEmote objectlayer
- CGUnit_C::PlayFollowOnAnimation objectlayer
- CGUnit_C::PlayEmote objectlayer
- CGUnit_C::UpdateBaseAnimation objectlayer
- CGUnit_C::OnUnitFlagsChanged objectlayer
- CGUnit_C::PlayFallAnimation objectlayer
- CGUnit_C::UpdateLandingAnimation objectlayer
- CGUnit_C::PlayMountSpecial objectlayer
- CGUnit_C::OnDisplayChanged objectlayer
- CGUnit_C::UpdateEmoteQueue objectlayer
- CGUnit_C::AnimateMoveOpcode objectlayer
- CGUnit_C::PlayDeathAnimation objectlayer
- CGUnit_C::PlayParryAnimation objectlayer
- PlayUnitSpellVisualKit objectlayer
- CGUnit_C::OnStandStateChanged objectlayer
- CMissile::Launch objectlayer
- CMissile::ArriveMiss objectlayer
- CMissile::Advance objectlayer
- PlaySwingAnimation objectlayer
- OnCombatModelEvent objectlayer
Callees 29
- SplatVector3 loadingscreen
- ReadGuidAt objectlayer
- 0x4b1df0 ui
- IsTwoHandedWeapon objectlayer
- IsSpellCastAnimation objectlayer
- IsSwingAnimation objectlayer
- IsEmoteAnimation objectlayer
- IsDeathAnimation objectlayer
- CGUnit_C::PlayTrack objectlayer
- IsReadySpellAnimation objectlayer
- IsReadyAnimation objectlayer
- CGUnit_C::ApplyEffectAnimation objectlayer
- CGUnit_C::UpdateSheatheForAnimation objectlayer
- CGUnit_C::GetTrackStates objectlayer
- IsLandingAnimation objectlayer
- IsSpecialAttackAnimation objectlayer
- IsFullBodyAnimation objectlayer
- IsJumpAnimation objectlayer
- IsUpperBodyAnimation objectlayer
- IsMoveAnimation objectlayer
- CGUnit_C::PassToWeaponTrails objectlayer
- CGObject_C::IsCreated objectlayer
- CGObject_C::IsReactivating objectlayer
- CM2Model::IsLoaded models
- CM2Model::GetSequenceInfo models
- CM2Model::GetKeyBoneAnimState models
- CM2Model::PlayAnimation models
- CM2Model::SetKeyBoneAnimSpeed models
- CMovement::GetCurrentSpeed collision
Calls and jumps by a bare address, from tables/calls.tsv.