Difference between revisions of "Touch/ja"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL_Event/ja |event_id=3 |event_delay |event=touch |p1_type=integer |p1_name=num_detected |p1_desc |event_desc=エージェントがタスクをクリックしている間作動します...)
 
m
Line 32: Line 32:
|cat1=Touch
|cat1=Touch
|cat2=Detected
|cat2=Detected
|cat3
|cat3=Grab
|cat4}}
|cat4}}

Revision as of 05:30, 29 September 2008

説明

イベント: touch( integer num_detected ){ ; }

エージェントがタスクをクリックしている間作動します。プリム(オブジェクト)はクリックが止められるまで作動し続けるでしょう。(複数回作動します)

• integer num_detected

サンプル

<lsl>default {

    touch(integer num_detected)
    {
         llOwnerSay("I am being touched by " + llDetectedName(0) + ".");
    }

}</lsl>

参考情報

イベント

•  touch_start
•  touch_end

関数

•  llSetTouchText タッチアクションのパイメニューテキストを設定します
•  llPassTouches ルートから通過するのと同様に、子プリムによって取得されるクリックを許可します
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。