benilla-re systems structs docs

s_cinematicShotIndex

global · ui

Address
0xb4e26c · 4 bytes, up to 0xb4e26f
Type
uint32_t
Meaning
Holds the index of the playing shot in the sequence row
Confidence
verified, proof one
Finding
uicamera/cinematic#stepping-and-ending

Finding: Stepping and ending in uicamera: the in-engine cinematic

When a shot's animation finishes, 0x48efc0 schedules 0x48efe0 after 0.25 seconds. 0x48efe0 stops the narration, adds 1 to the shot index and, below 8, plays the shot whose camera id is at +0x08 + 4 * index; with none left it ends the cinematic. 0x48f050 skips: it stops the narration and schedules the end. 0x48f080 ends it: it signals event 371 (CINEMATIC_STOP), prepares the area under the camera's target when the camera is over 30 yards from it, releases the shot, stops the sounds, restores the music, shows the cursor, clears the word and rejoins the zone chat channels when the player is not a ghost.

The derivation is in the doc.