WoW:API StopMusic: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
 
m (Move page script moved page API StopMusic to API StopMusic without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''StopMusic''' ''-Documentation by [[user:Holo|Holo]]-''</center>
{{wowapi}} __NOTOC__
 
Stops the currently played music file.
<!-- List return values and arguments as well as function name, follow Blizzard usage convention for args -->
 
  StopMusic();
  StopMusic();


<!-- Describe the purpose of the function, though exhausting detail can be saved for a later section -->
==Notes==
 
This does '''not''' affect the built-in zone music, only music files that are played with [[API PlayMusic|PlayMusic]].
Stops the currently played music file.
 
----


{{Template:WoW API}}
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

WoW API < StopMusic

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.