Don't click here unless you want to be banned.

LSL Wiki : llResetTime

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are

Resets the script's time to zero. See also llGetTime and llGetAndResetTime.

This resets the script's time when touched:
    touch_start( integer total_number )
        float elapsed = llGetTime(); 
        llWhisper( 0, "It has been " 
                      + (string)elapsed
                      + " seconds since the time was last reset." );
        llResetTime(); // reset the time to zero

This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Time | Reset
There are 2 comments on this page. [Display comments/form]