LlMapDestination/ja - Second Life Wiki

LlMapDestination/ja

From Second Life Wiki

Jump to: navigation, search

関数: llMapDestination( string simname, vector pos, vector look_at );

posを強調したsimnameを中央にした世界地図を開きます。
オブジェクトに装着されたスクリプト、もしくはtouchイベントの間のみ作動します。.

• string simname リージョン名
• vector pos リージョン構成
• vector look_at 未使用


(look_atは通常使用しません。注意しましょう)

警告

  • この関数は1.0秒間、スクリプトを停止します。
  • simnameが省略された場合、地図はオブジェクトを中心として開きますが、posは強調されないでしょう。

 
//Click the object this script is in and your map opens up in the middle of Oasis.
default
{
     touch_start(integer num)
     {
          llMapDestination("Oasis", <128, 128, 0>, ZERO_VECTOR);
     }
}
 

ノート

  • possimname内ではないリージョン構成でも動くでしょう。 (llRequestInventoryDataで返されるような具合です)
  • オーナ以外のtouchイベントで呼ばれた場合、オーナのみ作動します。
  • touchで呼ばれた場合、イベントキューの最初もしくは最後でのみ動くでしょう。(例: num_touched > 1)

関連項目

関数

•  llRequestInventoryData

経緯

バグ

• Unresolved VWR-2060[c] posが時折違う内容で置き換えられる (対策案あり)