LlSetSoundQueueing/ja
From Second Life Wiki
メインページ > LlSetSoundQueueing > LlSetSoundQueueing/ja
警告
- 同時に待機できる音声は 2 個までのようです。
- 音声の待機状態はプリムの属性であり、特定のスクリプトに依存しません。待機状態はプリム内のいかなるスクリプトによっても有効化・無効化可能であり、その状態はスクリプトがリセット・再rez・削除されても保持されます。
例
default { state_entry() { llPreloadSound("SoundName1");//This loads the sounds into all in range viewers and cuts delay between sounds. llPreloadSound("SoundName2");//All sound parameters can be the name of a sound in the prim's inventory or a UUID of a sound"); } touch_start(integer detected) { llSetSoundQueueing(TRUE);//Set to TRUE for queueing and SoundName2 plays after the SoundName1 has ended. //Set to FALSE only the second will be played since the prim has only one sound emmiter and the second was called last. //Can be set anywhere withing the script (if within an event it will activate when the event is triggered. llPlaySound("SoundName1", 1.0); llPlaySound("SoundName2", 1.0); } }
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。

