Touch Time Basic

Written by Kitsune

Will tell you how many seconds between Touch_Start and Touch_End. 

 

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");
    }
}