LoadSoundScriptFunctions
function · sound · primitive
- Address
0x4587f0· 30 bytes, up to0x45880d- Meaning
- Registers the four Lua sound functions
- Confidence
- verified, proof one
- Finding
- sound/interface#lua-sound-functions
Finding: Lua sound functions in sound: the interface
PlaySound(name), PlayMusic(name), PlaySoundFile(file) and StopMusic() are registered for the
glue and the game UI. PlaySound plays an interface sound by name. PlayMusic and StopMusic are
the Lua music slot (music#lua-music). PlaySoundFile opens the file on bus 3 (cap 2) with no
duplicate check and no definition, started at once at volume 1.0 on the Sound category, and
returns 1 or nil. A non-string, non-number argument raises the usage error.
The derivation is in the doc.
Callers 2
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.