LlTriggerSoundLimited/ja

From Second Life Wiki

Jump to: navigation, search

関数: llTriggerSoundLimited( string sound, float volume, vector top_north_east, vector bottom_south_west );

北東端を示すtop_north_eastベクトルと南西端を示すbottom_south_westベクトルで定義される四角のエリア内に限定して、オブジェクトに添付されていない音を中心として、volumeの音量でsoundを再生します。

• string sound sound名、あるいはUUID
• float volume 0.0(消音)と1.0(大音量)の間(0.0 <= volume <= 1.0)
• vector top_north_east
• vector bottom_south_west リージョン構成内の位置


オブジェクトが移動する場合、音は一緒には移動しません。
オブジェクトに添付された音を再生するにはllPlaySoundを使用します。

警告

  • soundがプリム内から無くなっている場合、UUIDがない、あるいはそのsoundではない場合、エラーがDEBUG_CHANNELで報告されます。

関連項目

関数

•  llPlaySound
•  llTriggerSound
Personal tools