Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Timed events and the clock

Dolarodus Dragovar
Registered User
Join date: 19 Mar 2009
Posts: 5
05-12-2009 18:24
Im trying to make it so that an event will happen every 10 seconds on the 10 seconds of time on the clock in corelation with it.
That is to say, it will happen at 6:00:00, 6:00:10, 6:00:20, etc, etc.
anyone got a clue?
Argent Stonecutter
Emergency Mustelid
Join date: 20 Sep 2005
Posts: 20,263
05-12-2009 18:49
From: Dolarodus Dragovar
Im trying to make it so that an event will happen every 10 seconds on the 10 seconds of time on the clock in corelation with it.
That is to say, it will happen at 6:00:00, 6:00:10, 6:00:20, etc, etc.
anyone got a clue?

Calculate the time to the next 10 second mark, set the timer for that. Use a variable or states so the first time the timer is called it kicks off a regular 10 second timer and just lets it run from then on.
_____________________
Argent Stonecutter - http://globalcausalityviolation.blogspot.com/

"And now I'm going to show you something really cool."

Skyhook Station - http://xrl.us/skyhook23
Coonspiracy Store - http://xrl.us/coonstore
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
05-12-2009 19:20
Just remember that timers follow sim "lag". So if a sim is overloaded, the timer may take 11 seconds to trigger, instead of 10 seconds.
Dolarodus Dragovar
Registered User
Join date: 19 Mar 2009
Posts: 5
there is a small problem with that
05-12-2009 20:23
there are four parts and they all rez together but they never start together
Thats why I need to set it to work with the clock
---------------------------
Ty ill keep that in mind