benilla-re systems structs docs

s_animationNames

global · unassigned

Address
0x8686a8 · 832 bytes, up to 0x8689e7
Type
char *[208]
Meaning
Holds the names of the animation ids 0 to 207, from Stand to GuideArrowBirth
Confidence
verified, proof one
Finding
ui/playermodel#turning-the-model

Finding: Turning the model in ui: PlayerModel, DressUpModel and TabardModel

SetRotation(angle) plays a shuffle animation toward the angle, latches the turn and stores the angle as the frame's facing. When the model's data is resident it compares the old facing with the new: old below new plays animation 12 (ShuffleRight), old above new plays 11 (ShuffleLeft), and equal or NaN plays 0 (Stand). The play is skipped if that id is already armed on key bone 0, so a held direction arms once. Reversing replaces the shuffle at once, restarting it. Sending the same angle again plays Stand. The latch is set to 1, the deadline to now + 100 ms and the facing is stored on every path.

The derivation is in the doc.