CM2Model::HasAnimation
function · models · orchestration
- Address
0x711960· 56 bytes, up to0x711997- Meaning
- Returns whether an instance's model has a sequence for an animation id
- Confidence
- verified, proof one
- Finding
- ui/modelanim#the-idle-sequence
Finding: The idle sequence in ui: Model frames, animation, light and fog
A model frame that never calls SetSequence plays animation id 0 from the moment its model's data is
resident. If the model has no sequence for id 0 it plays the id of its first sequence. The sequence
starts at variation 0 (not a random one), offset 0, rate 1.0, without a blend, in the primary slot of
key bone 0. A character pane arms Stand again with a random variation (playermodel).
The derivation is in the doc.
Callers 15
- CCamera::BuildPivotHeights uicamera
- CGDynamicObject_C::ModelLoaded objectlayer
- CGPlayer_C::ToggleSheathe objectlayer
- PlayAnimatedHandlerState objectlayer
- AnimatedHandlerOnAnimationEvent objectlayer
- QuestGiverHandlerOnFrameOpen objectlayer
- CGUnit_C::ResolveSpecialStandAnimation objectlayer
- KitEffectHoldCallback objectlayer
- KitEffectDecayCallback objectlayer
- CGUnit_C::ComputeSelectionRadius objectlayer
- CGUnit_C::StopSpellKits objectlayer
- CMissile::Launch objectlayer
- UpdateSpellEffectObject objectlayer
- PlayBowPull objectlayer
- CM2Model::InitializeLoaded models
Callees 2
- M2LookupIndex models
- CM2Model::WaitForShared models
Calls and jumps by a bare address, from tables/calls.tsv.