Touch/ja - Second Life Wiki

Touch/ja

From Second Life Wiki

Jump to: navigation, search

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

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

• integer num_detected

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

関連項目

イベント

•  touch_start
•  touch_end

関数

•  llSetTouchText タッチアクションのパイメニューテキストを設定します
•  llPassTouches ルートから通過するのと同様に、子プリムによって取得されるクリックを許可します