Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

multiple timers

Kaige Tokhes
Registered User
Join date: 15 Mar 2006
Posts: 11
05-25-2006 17:35
I am learning and hunting but right now i have a script that i got for free that checks the day/night time and with it i made flames that go transparent during the day and hardware lighting turn on and off. What i wanted to do was a dd a flickering to the flames via hardware lighting but cant seem to find anyway to add another timer to a script. are multiple timers not allowed in states? During the night state it turns everything on but has a timer to check for the sun position so adding one in this state seems impossible
Keknehv Psaltery
Hacker
Join date: 11 Apr 2005
Posts: 1,185
05-25-2006 18:08
No-- but using timers to do flicker for particle effects is a Bad Idea (TM) anyways. I would recommend you remake your particle system to make it seem to flicker.
Osgeld Barmy
Registered User
Join date: 22 Mar 2005
Posts: 3,336
05-25-2006 18:09
timers persist over states, so its more like you can only have one running timer per script

one way around it is to use different scripts and linked messages, and if your just using the other scripts for timers, i would use an llSleep instead :)