Difference between revisions of "Stop.sound"

From AGI Wiki
Jump to navigationJump to search
Line 4: Line 4:
  
 
== <br />Syntax ==
 
== <br />Syntax ==
 
Starts playback of a SOUND resource. n. When finished, Flag(m) is set to 1.
 
  
 
<code>stop.sound();</code>
 
<code>stop.sound();</code>
  
&nbsp;
+
== <br />Remarks ==
== Remarks ==
 
  
 +
Starts playback of a SOUND resource. n. When finished, Flag(m) is set to 1.
  
 
+
== <br />Example ==
&nbsp;
 
== Example ==
 
  
 
<div class="CodeBlockHeader">Code:</div>
 
<div class="CodeBlockHeader">Code:</div>
Line 22: Line 18:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
&nbsp;
+
== <br />Technical Information ==
 
 
== Technical Information ==
 
  
  
  
&nbsp;
+
== <br />See Also ==
== See Also ==
 
  
 
* [[Sound Commands|Sound Commands]]
 
* [[Sound Commands|Sound Commands]]

Revision as of 16:57, 30 December 2013

The stop.sound command stops playback of current sound.

 


Syntax

stop.sound();


Remarks

Starts playback of a SOUND resource. n. When finished, Flag(m) is set to 1.


Example

Code:

<syntaxhighlight lang="agi"> stop.sound(); </syntaxhighlight>


Technical Information


See Also

 

Sources