Difference between revisions of "LlStopSound"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 3: Line 3:
|func=llStopSound
|func=llStopSound
|func_footnote
|func_footnote
|func_desc=Stops all attached sounds that are currently playing
|func_desc=Stops the attached sound currently playing
|return_text
|return_text
|spec
|spec

Revision as of 20:49, 1 June 2009

Summary

Function: llStopSound( );

Stops the attached sound currently playing

Caveats

  • There is no way to stop a specific sound.
All Issues ~ Search JIRA for related Bugs

Examples

<lsl> default {

   state_entry()
   {
       llLoopSound("string soundname if in object inventory or UUID", 1.0);
   }
   touch_start(integer total_number)
   {
       llStopSound();//As if by magic the sound stops!!
   }

}

</lsl>

See Also

Functions

•  llSound This function has been deprecated, please use llPlaySound instead.
•  llPlaySound
•  llPlaySoundSlave
•  llLoopSound
•  llLoopSoundMaster
•  llLoopSoundSlave

Deep Notes

Search JIRA for related Issues

Signature

function void llStopSound();