WoW:API StopMusic: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
({{wowapi}}, format)
Line 5: Line 5:
==Notes==
==Notes==
This does '''not''' affect the built-in zone music, only music files that are played with [[API PlayMusic|PlayMusic]].
This does '''not''' affect the built-in zone music, only music files that are played with [[API PlayMusic|PlayMusic]].
Before Patch 2.2, this function would fade the currently playing music out.  After Patch 2.2, it stops it immediately without a fade.

Revision as of 15:35, 8 October 2007

WoW API < StopMusic

Stops the currently played music file.

StopMusic();

Notes

This does not affect the built-in zone music, only music files that are played with PlayMusic.

Before Patch 2.2, this function would fade the currently playing music out. After Patch 2.2, it stops it immediately without a fade.