Timer
From Second Life Wiki
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
Caveats
|
Examplesfloat gap = 2.0; float counter = 0.0; default { state_entry() { // Activate the timer listener every 2 seconds llSetTimerEvent(gap); } timer() { counter = counter + gap; llSay(0, (string)counter+" seconds have passed"); } } |

