<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Global_Command%3A_stopSound</id>
		<title>Global Command: stopSound - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.visionaire-tracker.net/index.php?action=history&amp;feed=atom&amp;title=Global_Command%3A_stopSound"/>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_stopSound&amp;action=history"/>
		<updated>2026-05-25T15:46:32Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_stopSound&amp;diff=11891&amp;oldid=prev</id>
		<title>EK: Created page with &quot;Stop a playing sound.  {| class=&quot;ts&quot; |- | style=&quot;width:15%&quot; | Related functions | getSoundId | Global Command: getSoundProperty|getSoundProper...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.visionaire-tracker.net/index.php?title=Global_Command:_stopSound&amp;diff=11891&amp;oldid=prev"/>
				<updated>2023-05-04T19:44:52Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Stop a playing sound.  {| class=&amp;quot;ts&amp;quot; |- | style=&amp;quot;width:15%&amp;quot; | Related functions | &lt;a href=&quot;/wiki/Global_Command:_getSoundId&quot; title=&quot;Global Command: getSoundId&quot;&gt;getSoundId&lt;/a&gt; | Global Command: getSoundProperty|getSoundProper...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Stop a playing sound.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;width:15%&amp;quot; | Related functions&lt;br /&gt;
| [[Global Command: getSoundId|getSoundId]] | [[Global Command: getSoundProperty|getSoundProperty]] | [[Global Command: setSoundProperty|setSoundProperty]] | [[Global Command: startSound|startSound]] | [[Global Command: toggleSoundPause|toggleSoundPause]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
stopSound(soundId)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Parameter&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Type&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| soundId&lt;br /&gt;
| integer&lt;br /&gt;
| Id of the sound to stop.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Return values ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;ts&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;width:15%&amp;quot; | Type&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| boolean&lt;br /&gt;
| True if sound was stopped successfully, false otherwise.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
'''Example 1:''' Stop a playing sound.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- Sound id can only be retrieved if the sound is active&lt;br /&gt;
local mySoundId = getSoundId('vispath:sounds/example.ogg')&lt;br /&gt;
&lt;br /&gt;
stopSound(mySoundId)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{toc}}&lt;/div&gt;</summary>
		<author><name>EK</name></author>	</entry>

	</feed>