GetZoneMusicRow
function · sound · orchestration
- Address
0x4602c0· 20 bytes, up to0x4602d3- Meaning
- Returns the ghost music row while the player is a ghost, else the area's 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 2
- PlayZoneTrack sound
- SetZoneMusic sound
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.