CGGameObject_C::SetAnimProgress
function · objectlayer · orchestration
- Address
0x5f8c10· 19 bytes, up to0x5f8c22- Meaning
- Stores GAMEOBJECT_ANIMPROGRESS
- Confidence
- verified, proof one
- Finding
- objectlayer/gameobjecttypes#playing-a-state
Finding: Playing a state in objectlayer: game object types
Setting a new state plays its animation unless the model's key bone already plays it. A missing
open or close animation falls back to a neighbour, some frozen at speed 0. Playing starts at the
saved progress when GAMEOBJECT_ANIMPROGRESS is below 100, then stores 100. States 2, 4, 5 and 7
pause when GAMEOBJECT_FLAGS has 0x80. Every state but 1, 3 and 6 holds the object until its end.
Reversing a running open or close at full progress, 2 and 4 or 5 and 7, stores the complement of
the elapsed percentage, so the reverse starts where the forward stopped.
The derivation is in the doc.
Callers 2
- PlayAnimatedHandlerState objectlayer
- AnimatedHandlerSetState objectlayer
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.