<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-CN">
	<id>http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlSetSoundQueueing</id>
	<title>LlSetSoundQueueing - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://i.bnu.edu.cn/wiki/index.php?action=history&amp;feed=atom&amp;title=LlSetSoundQueueing"/>
	<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlSetSoundQueueing&amp;action=history"/>
	<updated>2026-06-01T04:36:53Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>http://i.bnu.edu.cn/wiki/index.php?title=LlSetSoundQueueing&amp;diff=591&amp;oldid=prev</id>
		<title>Wzc：创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: llSetSoundQueueing( integer queue ); |参数= 参数：…”</title>
		<link rel="alternate" type="text/html" href="http://i.bnu.edu.cn/wiki/index.php?title=LlSetSoundQueueing&amp;diff=591&amp;oldid=prev"/>
		<updated>2020-08-13T07:22:34Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: llSetSoundQueueing( integer queue ); |参数= 参数：…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{函数详情&lt;br /&gt;
|函数名 = Function: llSetSoundQueueing( integer queue );&lt;br /&gt;
|参数= 参数：&lt;br /&gt;
•整数队列–布尔型，声音队列：真启用，假（默认）禁用&lt;br /&gt;
|返回值= 返回值：设置附加的声音是否等待当前声音结束。如果queue为TRUE，则启用队列，如果禁用FALSE队列。默认情况下禁用声音队列。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|注意事项=似乎每个prim只能排队两个声音。[[SVC-4260]]型&lt;br /&gt;
声音队列是prim的属性，而不是脚本的属性。它可以被prim中的任何脚本激活和停用，并且可以在脚本重置、重新定位和脚本删除后继续运行。&lt;br /&gt;
如果使用从/主声音进行平滑过渡，则声音往往会不同步。&lt;br /&gt;
由于网络延迟和处理时间的原因，声音之间的静默间隔非常小（但可以听见）。&lt;br /&gt;
排队的声音必须在查看器中完全加载，否则将无法播放。[[llPreloadSound]]并不总是可靠的。&lt;br /&gt;
将与当前播放的声音相同的声音排队将失败。请改用[[llLoopSound]]。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|示例=&lt;br /&gt;
示例1&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llPreloadSound(&amp;quot;SoundName1&amp;quot;);//This loads the sounds into all in range viewers and cuts delay between sounds.&lt;br /&gt;
        llPreloadSound(&amp;quot;SoundName2&amp;quot;);//All sound parameters can be the name of a sound in the prim's inventory or a UUID of a sound&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
    touch_start(integer detected)&lt;br /&gt;
    {&lt;br /&gt;
        llSetSoundQueueing(TRUE);//Set to TRUE for queueing and SoundName2 plays after the SoundName1 has ended.&lt;br /&gt;
        //Set to FALSE only the second will be played since the prim has only one sound emmiter and the second was called last.&lt;br /&gt;
        //Can be set anywhere withing the script (if within an event it will activate when the event is triggered.&lt;br /&gt;
        llPlaySound(&amp;quot;SoundName1&amp;quot;, 1.0);&lt;br /&gt;
        llPlaySound(&amp;quot;SoundName2&amp;quot;, 1.0);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|相关函数=&lt;br /&gt;
[[llLoopSound]] &lt;br /&gt;
&lt;br /&gt;
[[llLoopSoundSlave]]–播放附加的声音。&lt;br /&gt;
&lt;br /&gt;
|相关事件=&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Wzc</name></author>
		
	</entry>
</feed>