CGDynamicObject_C::Loop
function · objectlayer · orchestration
- Address
0x5d5950· 113 bytes, up to0x5d59c0- Signature
void __thiscall (CGDynamicObject_C *this)- Meaning
- Plays animation 158 if the model has it, else animation 0
- Confidence
- verified, proof one
- Finding
- objectlayer/dynamicobjects#model-events-and-looping
Finding: Model events and looping in objectlayer: dynamic objects
The event callback 0x5d5540 resolves the GUID with mask 0x40 and calls 0x5d58c0. The model
tag $SND plays the sound whose id is the event's argument at the object's position at full volume;
$SHK adds each of the three shakes of the camera-shake row the argument names. Any other tag prints a
message. The done callback 0x5d5580 acts on a natural end only: it restarts animation 158 when
the model has it, else animation 0.
The derivation is in the doc.
Callers 1
- OnDynamicObjectAnimationDone objectlayer
Callees 1
- CM2Model::PlayAnimation models
Calls and jumps by a bare address, from tables/calls.tsv.