Touch start/ja

From Second Life Wiki

メインページ > Touch start > Touch start/ja
Jump to: navigation, search

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

エージェントがタスクを起動することによって作動します。

• integer num_detected 最後のクロック周期までにタッチして探知されたエージェントの数

エージェントのキーを探知するのに、0からnum_detected - 1の数値を使用することができます。

default
{ 
    touch_start(integer num_detected)
    {
        integer i = 0;
        for(; i<num_detected; ++i)
            llWhisper(0, "Touched by " + llKey2Name(llDetectedKey(i)));
    }
}

関連項目

イベント

•  touch
•  touch_end

関数

•  llSetTouchText
•  llPassTouches

In other languages