This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

Difference between revisions of "StreamMusic"

Jump to navigation Jump to search
705 bytes added ,  15:04, 31 May 2006
More functions revealed...
imported>JOG
m
imported>JOG
(More functions revealed...)
Line 1: Line 1:
'''Description'''
Tells the game to start playing a new track or play a specific music file.
'''Syntax:'''
'''Syntax:'''
  StreamMusic "<''Filename''>"  
  StreamMusic "<''Filename''>"     play the specified file (The quotes are required!)
StreamMusic Public          play a random track out of Data\Music\Public
StreamMusic Explore          play a random track out of Data\Music\Explore
StreamMusic Dungeon          play a random track out of Data\Music\Dungeon
StreamMusic Random          play a random track out of one of the three folders above
 
 
'''Examples:'''
'''Examples:'''
  StreamMusic "data\music\special\success.mp3"
  StreamMusic "data\music\special\success.mp3"
Line 7: Line 20:
  StreamMusic "C:\WINDOWS\Media\tada.wav"
  StreamMusic "C:\WINDOWS\Media\tada.wav"


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


----
----
Some Notes:
Some Notes:
*This Function was not documented by Bethesda, and it seems to be partly broken/unfinished so always keep an eye open for strange behaviors or "new" features.


*At the end of the file, a new random music will be chosen according to the current location.  
*At the end of the file, a new random music will be chosen according to the current location.  
Line 16: Line 31:
*Providing a filename that doesn't exist causes the game to restart the song that is currently playing.
*Providing a filename that doesn't exist causes the game to restart the song that is currently playing.


*StreamMusic will only work in cells with the music type set to either "Dungeon" or "Public" It doesn't work in cells with the "Default" setting. When used in such a cell, StreamMusic only restarts the current track.
*StreamMusic works fine in cells with the music type set to either "Dungeon" or "Public" When used in a "Default" cell, StreamMusic only restarts the current track.
 
*To use this command in a cell with music-type "Default", you need to call ''StreamMusic random'' first, then wait for a frame for the command to be executed, and '''then''' use ''Streammusic "<filename>"''


*StreamMusic will also not override combat music, the combat-music that is currently playing will be restarted, though.
*StreamMusic will also not override combat music, the combat-music that is currently playing will be restarted, though.
Anonymous user

Navigation menu