benilla-re systems structs docs

SetWaterSubmerged

function · sound · primitive

Address
0x462e10 · 48 bytes, up to 0x462e3f
Meaning
Destroys the water loops on submerging and marks a silent-free restart on surfacing
Confidence
verified, proof one
Finding
sound/ambience#water-sound-placement

Finding: Water sound placement in sound: ambience and reverb

A water loop is placed at the player plus an offset that moves toward the liquid's reported offset by at most 1/6 yard per frame, snapping when within 1/6. A liquid closer than 5.8926 yards puts the target straight above the player at that height instead. Going under water destroys the loops at once; coming back up starts them at full volume without the fade, once.

The derivation is in the doc.

Callers 1

Callees 1

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