benilla-re systems structs docs

SetAreaAmbience

function · sound · orchestration

Address
0x460c50 · 60 bytes, up to 0x460c8b
Meaning
Stores the area's SoundAmbience row and override flag and refreshes with a fade
Confidence
verified, proof one
Finding
sound/ambience#zone-ambience-choice

Finding: Zone ambience choice in sound: ambience and reverb

One ambience plays at a time. Its sound is, in order: the SoundEntries row named Ghost (DONOTRENAME) while the player is a ghost; Underwater (DONOTRENAME) while the camera is submerged; the weather message's sound when there is one and the area does not override it; else the area's SoundAmbience day or night sound. The area change passes the SoundAmbience id with the override flag: 1 from the zone text resolver, 0 from the zone change report.

The derivation is in the doc.

Callers 2

Callees 1

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