Configuration > Rules Configuration

Random light

(1/1)

Walken100:
Ok, I found lots of info on randomizing turning on/off a light (done) but I'd like to radomize which light is turned on. I can do this by duplicating the random timing rule across a few lights but was curious if there is a cleaner way to do this?

John Hughes:
To randomize which light is turn on/off you would probably need to use a script and use Math.GetRandomInteger(min, max).

Walken100:

--- Quote from: John Hughes on April 09, 2011, 11:45:50 pm ---To randomize which light is turn on/off you would probably need to use a script and use Math.GetRandomInteger(min, max).

--- End quote ---

Thats what I thought. I'm being lazy and trying to not write scripts but this shouldn't be too tough.

Navigation

[0] Message Index

Go to full version