LlSetSoundQueueing/ja

From Second Life Wiki
< LlSetSoundQueueing
Revision as of 07:08, 25 May 2009 by MasterOf Perl (talk | contribs) (Update translation)
Jump to navigation Jump to search

要約

関数: llSetSoundQueueing( integer queue );

現在の音が終了するまで待ってから、添付された音を呼び出すかどうかを決定します。 queueTRUE ならば待機が有効に、FALSE ならば無効になります。(Falseが標準です)

• integer queue 真偽値, 音声の待機: TRUE ならば有効 、 FALSE ならば無効化 (デフォルト)

警告

  • 同時に待機できる音声は 2 個までのようです。
  • 音声の待機状態はプリムの属性であり、特定のスクリプトに依存しません。待機状態はプリム内のいかなるスクリプトによっても有効化・無効化可能であり、その状態はスクリプトがリセット・再rez・削除されても保持されます。
All Issues ~ Search JIRA for related Bugs

サンプル

<lsl> 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>

関連項目

関数

•  llLoopSound
•  llLoopSoundSlave 添付された音を繰り返し再生します。

特記事項

Search JIRA for related Issues

Signature

function void llSetSoundQueueing( integer queue );
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。