User:Garth FairChang
From OpenSimulator
Revision as of 10:11, 28 December 2007 by Garth FairChang (Talk | contribs)
I tested llGetRegionTimeDilation in OpenLifeGrid and on a standalone sim. I always get the result of 0.914285719394684
Script used:
string sim; float delay = 12.0; integer count;
default {
state_entry() { sim = llGetRegionName(); llSetTimerEvent(delay); }
timer() { count += 1; if(count == 61) count = 0; string t_td = (string)llGetRegionTimeDilation(); string t_fps = (string)llGetRegionFPS(); string t_host = (string)llGetSimulatorHostname(); llSetText(count + "\n" + sim + "\nTD: " + t_td + "\nFPS: " + t_fps + "\nHost: " + t_host, <1,1,1>,1.0); }
}