Difference between revisions of "LlStopSound"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
m |
|||
Line 7: | Line 7: | ||
|spec | |spec | ||
|caveats=*There is no way to stop a specific sound. | |caveats=*There is no way to stop a specific sound. | ||
*In a linked set it will only stop the sound from the prim the script is in. | |||
|constants | |constants | ||
|examples= | |examples= |
Revision as of 20:51, 1 June 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llStopSound( );92 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Stops the attached sound currently playing
Caveats
- There is no way to stop a specific sound.
- In a linked set it will only stop the sound from the prim the script is in.
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 |