Difference between revisions of "StreamMusic"

473 bytes added ,  14:56, 7 May 2006
m
no edit summary
imported>JOG
m (See also...)
imported>JOG
m
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  StreamMusic "<''Filename''>"  
  StreamMusic "<''Filename''>"  
'''Example:'''
'''Examples:'''
  StreamMusic "data\music\special\success.mp3"
  StreamMusic "data\music\special\success.mp3"
StreamMusic "LauncherMusic.wav"
StreamMusic "..\Morrowind\Data Files\Music\Special\morrowind title.mp3"
StreamMusic "C:\WINDOWS\Media\tada.wav"


Tells the game to start playing the file. (The filename needs to be in quotes!)
Tells the game to start playing the music file. (The filename needs to be in quotes!)


----
Some Notes:


*The filename needs to be located somewhere within the Oblivion-folder not neccessary in Data\Music.
*At the end of the file, a new random music will be chosen according to the current location.
 
*Providing a filename that doesn't exist causes the game to restart the song that is currently playing.
 
*StreamMusic will not override combat music, the combat-music that is currently playing will be restarted, though.
 
*The filename is relative to the Oblivion-folder it doesn't need to be in Data\Music.


*The file-type isn't restricted to MP3. Any format that may be played by Windows Media Player can also be played by Oblivion (e.g .MID files).
*The file-type isn't restricted to MP3. Any format that may be played by Windows Media Player can also be played by Oblivion (e.g .MID files).
Anonymous user