WoW:API StopMusic: Difference between revisions
Jump to navigation
Jump to search
(Added information about how this function interacts with the built-in music) |
m (Move page script moved page API StopMusic to API StopMusic without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} __NOTOC__ | |||
Stops the currently played music file. | |||
StopMusic(); | StopMusic(); | ||
==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. | |||
Latest revision as of 04:47, 15 August 2023
Stops the currently played music file.
StopMusic();
Notes[edit]
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.