EVENT PLAYLEVELMUSICSLOT: Difference between revisions
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..." |
Doom64hunter (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{EventTable|1=EVENT_PLAYLEVELMUSICSLOT |2=[[myconnectindex]]|3=[[i|player->i]]|4=3 values}} | |||
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. | ||
Set RETURN to -1 in order to disable the music for the map. | |||
== Return Values == | |||
:; userdef.return 0 ([[RETURN]]) | |||
:: Default is 0. Set to -1 to disable music playback. | |||
:; userdef.return 1 | |||
:: Contains the volume number for the music track that is about to be played. Read-only. | |||
:; userdef.return 2 | |||
:: Contains the level number for the music track that is about to be played. Read-only. | |||
[[Category:Events]] | [[Category:Events]] |
Latest revision as of 00:45, 5 February 2022
Event ID | player# | THISACTOR | RETURN | |
---|---|---|---|---|
EVENT_PLAYLEVELMUSICSLOT | myconnectindex | player->i | 3 values |
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.
Set RETURN to -1 in order to disable the music for the map.
Return Values
- userdef.return 0 (RETURN)
- Default is 0. Set to -1 to disable music playback.
- userdef.return 1
- Contains the volume number for the music track that is about to be played. Read-only.
- userdef.return 2
- Contains the level number for the music track that is about to be played. Read-only.