m
Move page script moved page API StopMusic to WoW:API StopMusic without leaving a redirect
(Added information about how this function interacts with the built-in music) |
m (Move page script moved page API StopMusic to WoW: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. | |||