Starttrack: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
getuserdef[THISACTOR].volume_number TEMP | getuserdef[THISACTOR].volume_number TEMP | ||
setuserdef[THISACTOR].volume_number 1 | setuserdef[THISACTOR].volume_number 1 | ||
starttrack | starttrack 0 | ||
setuserdef[THISACTOR].volume_number TEMP | setuserdef[THISACTOR].volume_number TEMP | ||
This will start track from episode 2 level 1 at any episode. | This will start track from episode 2 level 1 at any episode. |
Revision as of 14:26, 26 August 2007
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 detected with the gamevar VOLUME) as defined by the music command. Change volume_number take another episode music. Remember that you must take back the last volume_number value:
getuserdef[THISACTOR].volume_number TEMP setuserdef[THISACTOR].volume_number 1 starttrack 0 setuserdef[THISACTOR].volume_number TEMP
This will start track from episode 2 level 1 at any episode.