From Second Life Wiki
Revision as of 09:26, 25 January 2015 by ObviousAltIsObvious Resident (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

simple synchronize script for two or more separate prims, like wings for instance
assuming the task(); is 100% similar in all prims and takes less than 1 sec to implement

    float i = llGetTime();  
    float x = llGetTime();
    while (llGetUnixTime()%2 == 0)// do every even second (result 1 for odd seconds)
        llSleep(1-(x-i));// one second minus time that has passed