EVENT CONTINUELEVELMUSICSLOT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Jblade (talk | contribs)
Created page with "EVENT_CONTINUELEVELMUSICSLOT is a Misc Event. Called when the current track is continued after loading a save The requested track is passed into PLAYL..."
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
EVENT_CONTINUELEVELMUSICSLOT is a [[EDuke32 event list|Misc Event]].
{{EventTable|1=EVENT_CONTINUELEVELMUSICSLOT|2=[[myconnectindex]]|3=[[i|player->i]]|4=0 values}}
'''EVENT_CONTINUELEVELMUSICSLOT''' is a [[EDuke32 event list|Misc Event]].


Called when the current track is continued after loading a save
Called when the current music track is continued after loading a save or when restarting the map after death, 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.
If the track is restarted, or a new one is played, [[EVENT_PLAYLEVELMUSICSLOT]] is called instead.


The currently playing track can be determined from the [[Members_of_the_userdef_structure|userdef struct members]] [[music_episode]] and [[music_level]] for volume and level slot respectively.
[[Category:Events]]
[[Category:Events]]

Latest revision as of 00:44, 5 February 2022

Event ID player# THISACTOR RETURN
EVENT_CONTINUELEVELMUSICSLOT myconnectindex player->i 0 values

EVENT_CONTINUELEVELMUSICSLOT is a Misc Event.

Called when the current music track is continued after loading a save or when restarting the map after death, regardless of whether the music is on or off.

If the track is restarted, or a new one is played, EVENT_PLAYLEVELMUSICSLOT is called instead.

The currently playing track can be determined from the userdef struct members music_episode and music_level for volume and level slot respectively.