Difference between revisions of "LlGiveInventory/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
(Modified translation)
Line 9: Line 9:
|spec
|spec
|caveats=*取引が失敗したとしても、知る方法はありません。
|caveats=*取引が失敗したとしても、知る方法はありません。
*'''destination'''範囲のスクリプトは無効です(動きません)。プリムへ動いているスクリプトを送るには[[llSetRemoteScriptAccessPin/ja|llSetRemoteScriptAccessPin]]を使用します。
* '''destination''' に送られたスクリプトは無効化されます。("実行中" のチェックが外れる。一旦 destination を take して rez し直すか、スクリプトを再コンパイルするまで実行できない。) スクリプトを実行中のまま別のプリムへ送るには [[llSetRemoteScriptAccessPin/ja|llSetRemoteScriptAccessPin]] を使ってください。
|constants
|constants
|examples=
|examples=

Revision as of 07:08, 10 April 2009

要約

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

destinationinventoryを渡します。

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

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

警告

  • inventory がプリムの中で見つからない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
  • 取引が失敗したとしても、知る方法はありません。
  • destination に送られたスクリプトは無効化されます。("実行中" のチェックが外れる。一旦 destination を take して rez し直すか、スクリプトを再コンパイルするまで実行できない。) スクリプトを実行中のまま別のプリムへ送るには 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の関連した項目が参考になるかもしれません。