benilla-re systems structs docs

FindServerSoundSlot

function · sound · primitive

Address
0x4590e0 · 61 bytes, up to 0x45911c
Meaning
Returns whether a unit's GUID holds a server sound slot
Confidence
verified, proof one
Finding
sound/objects#server-object-sounds

Finding: Server object sounds in sound: object and combat sounds

The server's object-sound message (opcode 0x278) for a unit calls 0x458fb0(unit, id). A sound with no definition, or with flag 0x2, plays once at the unit on bus 0. Otherwise a unit that already has a live server sound gets nothing; a new one plays as a 3D sound with no category, follows the unit, and fills a slot of the server sound registry with the unit's GUID. 0x4591f0(unit) reports whether a unit holds a slot; the unit sound code asks it (0x6234cb, 0x623a59).

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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