-
Seting the inital state of a variable (Fuse)
Hello,
Its not the first time I come across this problem. But I usually find workarounds. Here it goes :
I’m creating a “fuse” variable with 2 states which switch randomly.
Basicly in state 0 a light’s intensity is a fixed value and in state 1 the intensity is controlled by a noise value.
BUT, I can’t find a way to set the initial state of the fuse. I tried this :
if (time == 0) fuse = 0…….
But that doesn’t seem to work.
Is there a way to set a variable only at run time of the script ?
Thank you very much
Jess