Unofficial LSL Reference

[[functions:llstopsound]]


Unofficial LSL reference

User Tools

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

Forgotten your password? Get a new one: Set new password

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

functions:llstopsound [2014-12-09 17:19 SLT]
sei [Complete examples] Fix volume
functions:llstopsound [2015-02-04 18:18 SLT] (current)
sei style
Line 6: Line 6:
 </​code>​ </​code>​
  
-Stops the [[/sound]] playing in the prim the script is running in.+Stops the $lart[sound] playing in the prim the script is running in.
  
 ===== Notes ===== ===== Notes =====
  
-  * Works only for [[llPlaySound]], [[llLoopSound]], and similar. Does not work for [[llTriggerSound]] or [[llTriggerSoundLimited]].+  * Works only for $lfn[llPlaySound], ​$lfn[llLoopSound],​ and similar. Does not work for $lfn[llTriggerSound] or $lfn[llTriggerSoundLimited].
  
 ===== Short examples ===== ===== Short examples =====
Line 20: Line 20:
 ===== Complete examples ===== ===== Complete examples =====
  
-This script will start a looped [[/sound]] when it is touched, and st +This script will start a looped ​$lart[sound] when it is touched, and stop it when it is touched again.
-op it when it is touched again.+
  
 <file lsl2 llStopSound-example.lsl>​ <file lsl2 llStopSound-example.lsl>​
Line 43: Line 42:
 ===== See also ===== ===== See also =====
  
-  * [[llPlaySound]] plays a sound in this prim. +  * $lfn[llPlaySound] plays a sound in this prim. 
-  * [[llLoopSound]] plays a +  * $lfn[llLoopSound] plays a looped ​sound in this prim. 
-ooped sound in this prim. +  * $lfn[llLoopSoundMaster] plays a looped sound letting others synchronize with it. 
-  * [[llLoopSoundMaster]] plays a looped sound letting others synchronize with it. +  * $lfn[llLoopSoundSlave] plays a looped sound synchronized with a master. 
-  * [[llLoopSoundSlave]] plays a looped sound synchronized with a master. +  * $lfn[llPlaySoundSlave] plays a sound synchronized with a master. 
-  * [[llPlaySoundSlave]] plays a sound synchronized with a master. +  * $lfn[llAdjustSoundVolume] adjusts the volume of a sound playing in this prim. 
-  * [[llAdjustSoundVolume]] adjusts the volume of a sound playing in this prim. +  * <wrap important>​$lfn[llSetSoundRadius]</​wrap>​ adjusts how far the prim sounds can be heard. 
-  * <wrap important>​[[llSetSoundRadius]]</​wrap>​ adjusts how far the prim sounds can be heard. +  * $lfn[llSetSoundQueueing] adjusts whether sounds are enqueued in this prim. 
-  * [[llSetSoundQueueing]] adjusts whether sounds are enqueued in this prim. +  * $lfn[llTriggerSound] "​drops"​ a sound where the prim is. 
-  * [[llTriggerSound]] "​drops"​ a sound where the prim is. +  * $lfn[llTriggerSoundLimited] "​drops"​ a sound where the prim is, with limited reach. 
-  * [[llTriggerSoundLimited]] "​drops"​ a sound where the prim is, with limited reach. +  * $lfn[llPreloadSound] causes a sound to be preloaded, for faster playing. 
-  * [[llPreloadSound]] causes a sound to be preloaded, for faster playing. +  * <wrap important>​$lfn[llSound]</​wrap>​ plays a sound in this prim (deprecated - use $lfn[llPlaySound] instead). 
-  * <wrap important>​[[llSound]]</​wrap>​ plays a sound in this prim (deprecated - use [[llPlaySound]] instead). +  * <wrap important>​$lfn[llSoundPreload]</​wrap>​ causes a sound to be preloaded (deprecated - use $lfn[llPreloadSound] instead). 
-  * <wrap important>​[[llSoundPreload]]</​wrap>​ causes a sound to be preloaded (deprecated - use [[llPreloadSound]] instead). +  * $lart[Sound] (general information)
-  * [[/Sound]] (general information)+