Touch end/ja - Second Life Wiki

Touch end/ja

From Second Life Wiki

Jump to: navigation, search

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

エージェントがタスク上でのクリックを停止するときに作動します。

• integer num_detected

探知されたエージェントのキーの取得に、0からnum_detected - 1の数値を使うことができます。

float t;
 
default
{
    touch_start(integer num_detected)
    {
        t = llGetTime();
    }
    touch_end(integer num_detected)
    {
        llOwnerSay((string)(llGetTime() - t) + " seconds between touch_start and touch_end");
    }
}

関連項目

イベント

•  touch_start
•  touch

関数

•  llPassTouches