Difference between revisions of "Playing custom background music"
Playing custom background music (edit)
Revision as of 07:26, 25 October 2011
, 07:26, 25 October 2011no edit summary
imported>Jaime74 (Typo correction: Replaced StreamSound by StreamMusic) |
imported>Jaime74 m |
||
Line 58: | Line 58: | ||
* that these methods interfere with each other, one taking precedence over others | * that these methods interfere with each other, one taking precedence over others | ||
Hence, if you are developing a mod that should play specific music (e.g. inside a specific cell), you cannot rely on the one or the other method without forcing the users to either ''install'' or ''uninstall'' certain music extensions! This would have big impact on the acceptance of your mod, so you need to write some more script code to detect | Hence, if you are developing a mod that should play specific music (e.g. inside a specific cell), you cannot rely on the one or the other method without forcing the users to either ''install'' or ''uninstall'' certain music extensions! This would have big impact on the acceptance of your mod, so you need to write some more script code to detect which plugins are installed in the user's environment, and then use the most appropriate method to play your music. | ||
The code below shows an example of how to do this. | The code below shows an example of how to do this. |