Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Alternative to using timer

Cindy Carr
Registered User
Join date: 5 Oct 2006
Posts: 1
05-11-2009 11:26
Anyone know of an alternative to using timer?
Imnotgoing Sideways
Can't outlaw cute! =^-^=
Join date: 17 Nov 2007
Posts: 4,694
05-11-2009 11:39
For and do loops with llSleep... I still prefer timers. (^_^)y
_____________________
Somewhere in this world; there is someone having some good clean fun doing the one thing you hate the most. (^_^)y


http://slurl.com/secondlife/Ferguson/54/237/94
Jack Abraham
Lantern By Day
Join date: 11 Apr 2008
Posts: 113
05-11-2009 12:50
llSensorRepeat( "", llGetKey(), AGENT, 0.05, 0., interval_desired );
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
05-11-2009 12:54
polling time or a prim property in a loop works, and you can also abuse sensor repeat to act as a (second) timer, but it's not a great idea.

(although GCF in float and and modulus can get you multiple effective timers too, as can additive reference times saved to a list.)

is there some reason you don't want a timer?
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -
Imnotgoing Sideways
Can't outlaw cute! =^-^=
Join date: 17 Nov 2007
Posts: 4,694
05-11-2009 13:15
From: Void Singer
....is there some reason you don't want a timer?
Well, I have this wonderful sim cras........ Never mind. (^_^)y
_____________________
Somewhere in this world; there is someone having some good clean fun doing the one thing you hate the most. (^_^)y


http://slurl.com/secondlife/Ferguson/54/237/94