Changes

Jump to navigation Jump to search
link to audio page instead of directly to older spreadsheet
Line 201: Line 201:  
| 0
 
| 0
 
| <samp>{{t|music ID}}</samp>
 
| <samp>{{t|music ID}}</samp>
| The background music or ambient background track to play. Can be changed later using <samp>playMusic <newmusic></samp>, or stopped entirely using <samp>stopMusic</samp>. This can also be <samp>none</samp> (which stops any existing music and uses the default ambient background noise for the location), or <samp>continue</samp> (which keeps playing the current background song). Refer to [https://docs.google.com/spreadsheets/d/1CpDrw23peQiq-C7F2FjYOMePaYe0Rc9BwQsj3h6sjyo/edit#gid=239695361 the great ID spreadsheet] for music choices.
+
| The [[Modding:Audio#Track list|background music or ambient background track]] to play. Can be changed later using <samp>playMusic <newmusic></samp>, or stopped entirely using <samp>stopMusic</samp>. This can also be <samp>none</samp> (which stops any existing music and uses the default ambient background noise for the location), or <samp>continue</samp> (which keeps playing the current background song).
 
|-
 
|-
 
| 1
 
| 1
Line 475: Line 475:  
|-
 
|-
 
| <samp>playMusic {{t|track}}</samp>
 
| <samp>playMusic {{t|track}}</samp>
| Play the specified music track ID. If the track is 'samBand', the track played will change depend on certain dialogue answers (76-79).
+
| Play the specified [[Modding:Audio#Track list|music track ID]]. If the track is 'samBand', the track played will change depend on certain dialogue answers (76-79).
 
|-
 
|-
 
| <samp>playSound {{t|sound}}</samp>
 
| <samp>playSound {{t|sound}}</samp>
| Play a given sound ID from the game's sound bank.
+
| Play a given [[Modding:Audio#Track list|sound ID]] from the game's sound bank.
 
|-
 
|-
 
| <samp>playerControl</samp>
 
| <samp>playerControl</samp>
Line 791: Line 791:     
==See also==
 
==See also==
*[https://docs.google.com/spreadsheets/d/1CpDrw23peQiq-C7F2FjYOMePaYe0Rc9BwQsj3h6sjyo/edit#gid=239695361 List of sound and music IDs]
   
* [https://gist.github.com/Pathoschild/95efc5ba5a23dc2c4da219ca2ddde679 JavaScript to parse an event precondition string]
 
* [https://gist.github.com/Pathoschild/95efc5ba5a23dc2c4da219ca2ddde679 JavaScript to parse an event precondition string]
 
* [https://gist.github.com/Pathoschild/4e0af42158583983a4206d4d734bfc0b LINQ script] to format an event for [[Modding:Modder Guide/APIs/Translation| translations (i18n)]]
 
* [https://gist.github.com/Pathoschild/4e0af42158583983a4206d4d734bfc0b LINQ script] to format an event for [[Modding:Modder Guide/APIs/Translation| translations (i18n)]]
translators
8,447

edits

Navigation menu