benilla-re systems structs docs

AnimatedHandlerOnModelDoneFlagSet

function · objectlayer · orchestration

Address
0x5f40e0 · 63 bytes, up to 0x5f411e
Meaning
Releases the hold of a played state that holds the object
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 0

None by a direct call or jump.

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.