LlGiveInventory/ja

From Second Life Wiki
Jump to navigation Jump to search

要約

関数: llGiveInventory( key destination, string inventory );

destinationinventoryを渡します。

• key destination アバターかオブジェクトのUUID.
• string inventory プリムの インベントリ の中にあるアイテム

destinationがオブジェクトの場合、同じリージョンでなければなりません。
destinationがアバタの場合、同じリージョンでなくてもかまいません。

警告

  • inventory がプリムの中で見つからない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
  • 取引が失敗したとしても、知る方法はありません。
  • destination範囲のスクリプトは無効です(動きません)。プリムへ動いているスクリプトを送るにはllSetRemoteScriptAccessPinを使用します。
All Issues ~ Search JIRA for related Bugs

サンプル

<lsl>default {

   touch_start(integer n)
   {
       //Gives this script to whoever touches the object.
       llGiveInventory(llDetectedKey(0), llGetScriptName());
   }
}</lsl>

関連項目

イベント

•  changed

関数

•  llGiveInventoryList
•  llSetRemoteScriptAccessPin
•  llMapDestination

特記事項

Search JIRA for related Issues

Signature

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