LlStopSound
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
| 函数名 |
|---|
| Function: llStopSound( ); |
| 参数:无 |
| 返回值:停止当前播放的附加声音(如果它们是由llLoopSound启动的) |
| 注意事项 |
|---|
| 没有办法阻止特定的声音。
在一个链接的集合中,它只会停止来自脚本所在的原稿的声音。 |
| 示例 |
|---|
示例1
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!!
}
}
|
| 相关函数 |
|---|
| llSound –此函数已被弃用,请改用llPlaySound。 |
| 相关事件 |
|---|
| 无 |