Gets the time
in seconds since the last script reset
, or since the time was last reset using llResetTime
. It has been reported that it can also reset when the server reboots or other unusual events. Because of this, it works best for measuring short intervals (e.g. "Has it been over three seconds since I was last clicked?"), and may be unreliable over long intervals (e.g. "Has is been over three days since I was last clicked?").
, and llGetGMTclock
do different things.
The following script reports the script's lifetime each time the object
touch_start( integer total_number )
float lifetime = llGetTime();
llWhisper( 0, "This script has been running for "
+ " seconds" );
This article wasn't helpful for you? Maybe the related article at the LSL Portal
is able to bring enlightenment.