Difference between revisions of "LlStopSound"
Jump to navigation
Jump to search
m (Best to give people links when directing them to another function, even if it is mentioned above or below.) |
|||
Line 8: | Line 8: | ||
|caveats=*There is no way to stop a specific sound. | |caveats=*There is no way to stop a specific sound. | ||
|constants | |constants | ||
|examples | |examples= | ||
<lsl> | |||
default | |||
{ | |||
state_entry() | |||
{ | |||
llLoopSound("string soundname or UUID", 1.0); | |||
} | |||
touch_start(integer total_number) | |||
{ | |||
llStopSound();//As if by magic the sound stops!! | |||
} | |||
} | |||
</lsl> | |||
|helpers | |helpers | ||
|also_functions= | |also_functions= |
Revision as of 20:43, 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 all attached sounds that are currently playing
Caveats
Examples
<lsl> default {
state_entry() { llLoopSound("string soundname 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 |