<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.prime-wow.com/index.php?action=history&amp;feed=atom&amp;title=AmbientSoundStop</id>
	<title>AmbientSoundStop - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.prime-wow.com/index.php?action=history&amp;feed=atom&amp;title=AmbientSoundStop"/>
	<link rel="alternate" type="text/html" href="https://wiki.prime-wow.com/index.php?title=AmbientSoundStop&amp;action=history"/>
	<updated>2026-06-07T09:15:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.prime-wow.com/index.php?title=AmbientSoundStop&amp;diff=11&amp;oldid=prev</id>
		<title>Xordac: Created page with &quot;Stops playing the ambient soundtrack of an area. &lt;nwscript&gt; void AmbientSoundStop(     object oArea ); &lt;/nwscript&gt; {{DISPLAYTITLE:AmbientSoundStop(object)}} ===Parameters=== ;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.prime-wow.com/index.php?title=AmbientSoundStop&amp;diff=11&amp;oldid=prev"/>
		<updated>2017-05-23T12:11:23Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Stops playing the ambient soundtrack of an area. &amp;lt;nwscript&amp;gt; void AmbientSoundStop(     object oArea ); &amp;lt;/nwscript&amp;gt; {{DISPLAYTITLE:AmbientSoundStop(object)}} ===Parameters=== ;...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Stops playing the ambient soundtrack of an area.&lt;br /&gt;
&amp;lt;nwscript&amp;gt;&lt;br /&gt;
void AmbientSoundStop(&lt;br /&gt;
    object oArea&lt;br /&gt;
);&lt;br /&gt;
&amp;lt;/nwscript&amp;gt;&lt;br /&gt;
{{DISPLAYTITLE:AmbientSoundStop(object)}}&lt;br /&gt;
===Parameters===&lt;br /&gt;
;oArea&lt;br /&gt;
:The area that should stop playing its ambient soundtrack.&lt;br /&gt;
&lt;br /&gt;
===Description===&lt;br /&gt;
Stops playing oArea&amp;#039;s ambient soundtrack.&lt;br /&gt;
&lt;br /&gt;
===Remarks===&lt;br /&gt;
The soundtrack will not cut off abruptly. Instead, it will have a short fade out.&lt;br /&gt;
&lt;br /&gt;
Contrast this with [[MusicBackgroundStop]](), which stops playing the area&amp;#039;s ambient &amp;#039;&amp;#039;music&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
You can change the ambient soundtrack for the area using [[AmbientSoundChangeDay]]() and [[AmbientSoundChangeNight]]().&lt;br /&gt;
&lt;br /&gt;
To start playing the soundtrack again, use [[AmbientSoundPlay]]().&lt;br /&gt;
&lt;br /&gt;
===Version===&lt;br /&gt;
1.22&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&amp;lt;nwscript&amp;gt;&lt;br /&gt;
// This example script will stop the music from playing. If the ambient sound is&lt;br /&gt;
// crickets, we could make the crickets fade out when the player gets too close.&lt;br /&gt;
// A trigger&amp;#039;s OnEnter script:&lt;br /&gt;
void main() &lt;br /&gt;
{&lt;br /&gt;
    object oArea = GetArea(OBJECT_SELF);&lt;br /&gt;
    AmbientSoundStop(oArea);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nwscript&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===See Also===&lt;br /&gt;
{| class=&amp;quot;seealso&amp;quot;&lt;br /&gt;
| width=&amp;quot;1px&amp;quot; align=&amp;quot;right&amp;quot; valign=&amp;quot;top&amp;quot; | &amp;lt;font color=&amp;quot;gray&amp;quot;&amp;gt;functions: &amp;lt;/font&amp;gt;&lt;br /&gt;
|[[AmbientSoundChangeDay]], [[AmbientSoundChangeNight]], [[AmbientSoundPlay]]&lt;br /&gt;
|}&amp;lt;br /&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font color=&amp;quot;gray&amp;quot;&amp;gt;author: Iskander Merriman&amp;lt;/font&amp;gt;&lt;br /&gt;
[[Category:Functions]]&lt;br /&gt;
[[Category:Area_Functions]]&lt;br /&gt;
[[Category:Sound_Effects_Functions]]&lt;/div&gt;</summary>
		<author><name>Xordac</name></author>
	</entry>
</feed>