Difference between revisions of "LlGiveInventory/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{multi-lang}}{{LSL_Function/inventory/ja|inventory|uuid=false|type}}{{LSL_Function/ja |func_id=150|func_sleep=0.0|func_energy=10.0 |func=llGiveInventory |p1_type=key|p1_name=destination|p...)
 
m
Line 1: Line 1:
{{multi-lang}}{{LSL_Function/inventory/ja|inventory|uuid=false|type}}{{LSL_Function/ja
{{LSL_Function/inventory/ja|inventory|uuid=false|type}}{{LSL_Function/ja
|func_id=150|func_sleep=0.0|func_energy=10.0
|func_id=150|func_sleep=0.0|func_energy=10.0
|func=llGiveInventory
|func=llGiveInventory
Line 31: Line 31:
|negative_index
|negative_index
|sort=GiveInventory
|sort=GiveInventory
|cat1=Inventory/ja
|cat1=Inventory
|cat2=Avatar/ja
|cat2=Avatar
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 23:38, 18 April 2008

要約

関数: 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の関連した項目が参考になるかもしれません。