EVENT CONTINUELEVELMUSICSLOT

From EDukeWiki
Revision as of 00:44, 5 February 2022 by Doom64hunter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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.