HasServerSound
function · sound · orchestration
- Address
0x4591f0· 54 bytes, up to0x459225- Meaning
- Returns whether a unit 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
- CGUnit_C::PlayVocal objectlayer
- CGUnit_C::PlayReaction objectlayer
Callees 1
- FindServerSoundSlot sound
Calls and jumps by a bare address, from tables/calls.tsv.