Difference between revisions of "Playing custom background music"

Jump to navigation Jump to search
Typo correction
imported>Jaime74
m
imported>Jaime74
(Typo correction)
Line 19: Line 19:
StreamMusic is Oblivion's vanilla function for playing custom background music. It is known to have a lot of limitations, but it's still the only way to stream music on all user systems that don't use [[OBSE]] and don't have any of the other extensions installed. If you don't want to force users of your mods to install one of those extensions, you should always enable your mods to play music with this vanilla function, if necessary.
StreamMusic is Oblivion's vanilla function for playing custom background music. It is known to have a lot of limitations, but it's still the only way to stream music on all user systems that don't use [[OBSE]] and don't have any of the other extensions installed. If you don't want to force users of your mods to install one of those extensions, you should always enable your mods to play music with this vanilla function, if necessary.
Using StreamSound is quite simple, e.g.
Using StreamSound is quite simple, e.g.
  SteamSound "Data\Music\YourPlaylist\*.*"
  StreamSound "Data\Music\YourPlaylist\*.*"
will randomly pick one track from within the ''YourPlaylist'' subfolder (which we can consider a "playlist") and immediately start streaming it.
will randomly pick one track from within the ''YourPlaylist'' subfolder (which we can consider a "playlist") and immediately start streaming it.


Anonymous user

Navigation menu