Page 1 of 1

Script same random on different channels

Posted: Thu Apr 18, 2019 4:26 pm
by Zebra
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

Re: Script same random on different channels

Posted: Fri Apr 19, 2019 3:53 pm
by mcallegari
you can't
it's not a full language
It will be possible in QLC+ 5 though: viewtopic.php?f=17&t=12498