Script same random on different channels
Posted: Thu Apr 18, 2019 4:26 pm
Hello users,
i have two fixtures of same kind (Lasers). I want a script to play booth fixtures the same pattern. I wrote a code like this:
a:random(0,255)
setfixture:13 ch:1 val:a // EL-230RGB #1, Pattern
setfixture:14 ch:1 val:a // EL-230RGB #1, Pattern
a:random(0,255)
setfixture:13 ch:7 val:a // EL-230RGB #1, Color
setfixture:14 ch:7 val:a // EL-230RGB #1, Color
wait:1s
The compiler says no error in the syntax. But the script don't work. Can i declare variables this way?
Thank you in advance.
Zebra
i have two fixtures of same kind (Lasers). I want a script to play booth fixtures the same pattern. I wrote a code like this:
a:random(0,255)
setfixture:13 ch:1 val:a // EL-230RGB #1, Pattern
setfixture:14 ch:1 val:a // EL-230RGB #1, Pattern
a:random(0,255)
setfixture:13 ch:7 val:a // EL-230RGB #1, Color
setfixture:14 ch:7 val:a // EL-230RGB #1, Color
wait:1s
The compiler says no error in the syntax. But the script don't work. Can i declare variables this way?
Thank you in advance.
Zebra