LlStopSound

来自人工智能助力教育知识百科
跳转至: 导航搜索

Template:Needs Translation/


函数名
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

llPlaySound

llPlaySoundSlave

llLoopSound

llLoopSoundMaster

llLoopSoundSlave

相关事件