Difference between revisions of "LlGetInventoryCreator/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{multi-lang}}{{LSL_Function/inventory/ja|item|uuid=false}} {{LSL_Function/ja |func_id=291|func_sleep=0.0|func_energy=10.0 |func=llGetInventoryCreator|return_type=key|p1_type=string|p1_nam...)
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{multi-lang}}{{LSL_Function/inventory/ja|item|uuid=false}}
{{LSL_Function/inventory/ja|item|uuid=false}}
{{LSL_Function/ja
{{LSL_Function/ja
|func_id=291|func_sleep=0.0|func_energy=10.0
|func_id=291|func_sleep=0.0|func_energy=10.0
|func=llGetInventoryCreator|return_type=key|p1_type=string|p1_name=item
|func=llGetInventoryCreator|return_type=key|p1_type=string|p1_name=item
|sort=GetInventoryCreator
|func_footnote
|func_footnote
|func_desc
|func_desc
|return_text=インベントリ'''item'''のオーナ名
|return_text=インベントリ '''item''' のクリエーター名
|spec
|spec
|caveats
|caveats
|constants
|constants
|examples
|examples=プリムのインベントリにオブジェクトを追加し、このスクリプトも同じように追加すると、クリエーターの名前を取得できます。
<source lang="lsl2">default{
    state_entry(){
        llRequestAgentData(llGetInventoryCreator(llGetInventoryName( INVENTORY_OBJECT, 0)),DATA_NAME);
    }
   
    dataserver(key qid, string data){
        llOwnerSay(data);
    }
}</source>
|helpers
|helpers
|also_functions=
|also_functions=
{{LSL DefineRow||[[llGetCreator/ja|llGetCreator]]|}}
{{LSL DefineRow||{{LSLG/ja|llGetInventoryName}}|インベントリアイテムの名前を返します}}
{{LSL DefineRow||[[llGetInventoryKey/ja|llGetInventoryKey]]|}}
{{LSL DefineRow||{{LSLG/ja|llGetInventoryType}}|インベントリアイテムが存在するか確認し、そのタイプを返します}}
{{LSL DefineRow||[[llGetInventoryType/ja|llGetInventoryType]]|}}
{{LSL DefineRow||{{LSLG/ja|llGetInventoryNumber}}|インベントリの特定のタイプのアイテムの数を返します}}
{{LSL DefineRow||[[llGetInventoryPermMask/ja|llGetInventoryPermMask]]|}}
{{LSL DefineRow||{{LSLG/ja|llGetInventoryPermMask}}|インベントリアイテムの権限を返します}}
{{LSL DefineRow||{{LSLG/ja|llGetInventoryKey}}|(フルパーミッションの場合) インベントリアイテムの {{LSLG/ja|UUID}} を返します}}
|also_events
|also_events
|also_tests
|also_tests
|also_articles
|also_articles
|notes
|notes
|cat1=Inventory/ja
|cat1=Inventory
|cat2=Creator/ja
|cat2=Creator
|cat3=Key/ja
|cat3=Key
|cat4
|cat4
}}
}}

Latest revision as of 06:50, 25 February 2016

要約

関数: key llGetInventoryCreator( string item );

インベントリ item のクリエーター名を key で返します。

• string item プリムの インベントリ の中にあるアイテム

警告

  • item がプリムの中で見つからない場合、エラーが DEBUG_CHANNEL 上で叫ばれます。
All Issues ~ Search JIRA for related Bugs

サンプル

プリムのインベントリにオブジェクトを追加し、このスクリプトも同じように追加すると、クリエーターの名前を取得できます。

default{
    state_entry(){
        llRequestAgentData(llGetInventoryCreator(llGetInventoryName( INVENTORY_OBJECT, 0)),DATA_NAME);
    }
    
    dataserver(key qid, string data){
        llOwnerSay(data);
    }
}

関連項目

関数

•  llGetInventoryName インベントリアイテムの名前を返します
•  llGetInventoryType インベントリアイテムが存在するか確認し、そのタイプを返します
•  llGetInventoryNumber インベントリの特定のタイプのアイテムの数を返します
•  llGetInventoryPermMask インベントリアイテムの権限を返します
•  llGetInventoryKey (フルパーミッションの場合) インベントリアイテムの UUID を返します

特記事項

Search JIRA for related Issues

Signature

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