Script::PlayMusic
function · sound · orchestration
- Address
0x458720· 65 bytes, up to0x458760- Signature
int __fastcall (lua_State *L)- Meaning
- Starts the Lua music slot with the file named by its string argument
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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 0
None by a direct call or jump.
Callees 5
- SetLuaMusic sound
- lua_isstring lua
- lua_tostring lua
- lua_pushfstring lua
- lua_error lua
Calls and jumps by a bare address, from tables/calls.tsv.