Starttrack: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
New page: starttrack <track#> '''''starttrack''''' is used to change the current background music that is playing. <track#> is literally the track number of the current episode (which can be detec...
 
Jblade (talk | contribs)
No edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
starttrack <track#>
'''starttrack''' <track#><br>
'''starttrackvar''' <track#><br>
'''starttrackslot''' <volume#> <track#>


'''''starttrack''''' is used to change the current background music that is playing.
This command is used to change the current background music that is playing.


<track#> is literally the track number of the current episode (which can be detected with the [[gamevar]] [[VOLUME]]) as defined by the [[music]] command.
<track#> is literally the track number of the current episode (which can be detected with the [[gamevar]] [[VOLUME]]) as defined by the [[music]] command. The music for intro/briefing/loading can be accessed by setting volume to 7.
 
''starttrackslot'' can be used to play music tracks from other volumes.
 
{{varsuffix}}


[[Category:EDuke commands]]
[[Category:EDuke commands]]
[[Category:Sound manipulation]]
[[Category:Sound manipulation]]
[[Category:Player manipulation]]

Latest revision as of 11:46, 1 August 2017

starttrack <track#>
starttrackvar <track#>
starttrackslot <volume#> <track#>

This command is used to change the current background music that is playing.

<track#> is literally the track number of the current episode (which can be detected with the gamevar VOLUME) as defined by the music command. The music for intro/briefing/loading can be accessed by setting volume to 7.

starttrackslot can be used to play music tracks from other volumes.

Commands with an additional "var" suffix take gamevars rather than constants or defined labels for their inputs. As an alternate short form, "varvar" can be dropped from these commands; for example ife serves an an alias for ifvarvare.