s_gameObjectStateNames
global · objectlayer
- Address
0x860818· 52 bytes, up to0x86084b- Type
char *[13]- Meaning
- Holds the names of states 0 to 12: Closed to Despawn for states 0 to 8, null for 9 to 12
- Confidence
- verified, proof one
- Finding
- objectlayer/gameobjecttypes#animation-states
Finding: Animation states in objectlayer: game object types
A family A handler plays one of 13 animation states. A change of GAMEOBJECT_STATE picks a moving
state and its end: to 0, state 2 then 3; to 1, 4 then 1; to 2, 5 then 6. It goes straight to the
end state when GAMEOBJECT_ANIMPROGRESS is 100 and the old state is not 1 (for 0 and 2) or 0 (for
1); to 1 from 2 it then plays 7. When a played state ends, 2 goes to 3, 4 and 7 to 1, 5 to 6; 0
and the custom states 8 to 11 return to the object's state; 1, 3 and 6 play again. A door
collides in state 1, so GAMEOBJECT_STATE 1 is closed.
The derivation is in the doc.