What I was hoping to do was add a script that checked to see what direction the gobo was spinning and if spinning in the opposite direction, take it to a stop first then change direction and go back up to speed.
Using HC.AttributeGetValue I can get the direction of the selected fixture but that is really as far as I can get. I know I need to use "if then else end" functions but I seem to be missing something.
Code: Select all
a=HC.AttributeGetValue('live', '1', 'gb Mode') b='Rot CW' if (a==b) then HC.ButtonWingButtonPress (1, 1) else HC.ButtonWingButtonPress (1, 2) end