benilla-re systems structs docs

SetZoneMusic

function · sound · orchestration

Address
0x4602e0 · 135 bytes, up to 0x460366
Meaning
Makes a ZoneMusic row the area's music and fades a track of another row
Confidence
verified, proof one
Finding
sound/music#zone-music-selection

Finding: Zone music selection in sound: music

0x4602e0(id) makes ZoneMusic row id the area's music when it has a day or night sound, else none. Unless a Lua or server track plays, a playing zone track of another row, or any track when there is no row, fades out over 4.0 s, and the schedule is set to start at once; the same row keeps playing. The ghost's music is the row named GhostMusic (DONOTRENAME), chosen instead while the player is a ghost.

The derivation is in the doc.

Callers 3

Callees 2

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