Difference between revisions of "EVENT PLAYLEVELMUSICSLOT"

From EDukeWiki
Jump to navigation Jump to search
(Created page with "EVENT_PLAYLEVELMUSICSLOT is a Misc Event. Called when a music track will be started from the beginning. The requested track is passed into PLAYLEVELMU...")
 
(Added RETURN info)
Line 1: Line 1:
EVENT_PLAYLEVELMUSICSLOT is a [[EDuke32 event list|Misc Event]].
EVENT_PLAYLEVELMUSICSLOT is a [[EDuke32 event list|Misc Event]].


Called when a music track will be started from the beginning.
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 PLAYLEVELMUSICSLOT via ud.m_volume_number and ud.m_level_number.
The requested track is passed into EVENT_PLAYLEVELMUSICSLOT via ud.m_volume_number and ud.m_level_number.


Set RETURN to -1 in order to disabled the music.
[[Category:Events]]
[[Category:Events]]

Revision as of 05:20, 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 requested track is passed into EVENT_PLAYLEVELMUSICSLOT via ud.m_volume_number and ud.m_level_number.

Set RETURN to -1 in order to disabled the music.