Difference between revisions of "LlSameGroup/ja"
Jump to navigation
Jump to search
Asuka Neely (talk | contribs) (New page: {{LSL Function/ja |func=llSameGroup |sort=SameGroup |func_id=219|func_sleep=0.0|func_energy=10.0 |return_type=integer |p1_type=key |p1_name=agent |p1_desc=must be in the same sim |func_des...) |
Asuka Neely (talk | contribs) m |
||
Line 1: | Line 1: | ||
{{LSL Function/ja | {{multi-lang}}{{LSL Function/ja | ||
|func=llSameGroup | |func=llSameGroup | ||
|sort=SameGroup | |sort=SameGroup | ||
Line 6: | Line 6: | ||
|p1_type=key | |p1_type=key | ||
|p1_name=agent | |p1_name=agent | ||
|p1_desc= | |p1_desc=同じSimでなければなりません | ||
|func_desc | |func_desc | ||
|func_footnote=もしくは、オブジェクトが'''agent'''のアクティブグループに譲渡されている場合も[[TRUE/ja|true]]を返します。 | |func_footnote=もしくは、オブジェクトが'''agent'''のアクティブグループに譲渡されている場合も[[TRUE/ja|true]]を返します。 |
Revision as of 15:13, 19 January 2008
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
要約
関数: integer llSameGroup( key agent );サンプル
<lsl>//Gives inventory object only to agents with the same active group default {
touch_start(integer total_number) { if(llSameGroup(llDetectedKey(0)))//same as llDetectedGroup(0) (with llDetectedGroup, detected does not need to be in the sim) llGiveInventory(llDetectedKey(0), llGetInventoryName(INVENTORY_OBJECT,0)); else llSay(0, "Wrong active group!"); }}</lsl>
関連項目
関数
• | llDetectedGroup | – | detectionイベントで接続に用いられます |
特記事項
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。