EVENT PLAYLEVELMUSICSLOT: Difference between revisions
Jump to navigation
Jump to search
Doom64hunter (talk | contribs) Added RETURN info |
Doom64hunter (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
Called when a music track will be started from the beginning (excluding loops), regardless of whether the music is on or off. | Called when a music track will be started from the beginning (excluding loops), regardless of whether the music is on or off. | ||
The requested track is passed into EVENT_PLAYLEVELMUSICSLOT via | The slot of the requested track is passed into EVENT_PLAYLEVELMUSICSLOT via the [[Members_of_the_userdef_structure|userdef struct]] members [[m_volume_number]] and [[m_level_number]]. | ||
Set RETURN to -1 in order to | Set RETURN to -1 in order to disable the music for the map. | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 04:21, 23 February 2020
EVENT_PLAYLEVELMUSICSLOT is a Misc Event.
Called when a music track will be started from the beginning (excluding loops), regardless of whether the music is on or off.
The slot of the requested track is passed into EVENT_PLAYLEVELMUSICSLOT via the userdef struct members m_volume_number and m_level_number.
Set RETURN to -1 in order to disable the music for the map.