I have a radiobutton with 8 switches.
Among other things I want:
cc19/ch15 to be send when button 2 is selected
cc30/ch15 to be send when button 3 is selected
cc29/ch15 to be send when button 3 is selected
Script: on expression, message send when value goes from 0 to positive
Code: Select all
if (Switches.x[2]==1) ctlout (0, 31, 127, 15);
if (Switches.x[3]==1) ctlout (0, 30, 127, 15);
if (Switches.x[4]==1) ctlout (0, 29, 127, 15);
Easy ???
Script: on expression, message send when value goes from positive to 0
Code: Select all
if (Switches.x[2]==0) ctlout (0, 31, 127, 15);
if (Switches.x[3]==0) ctlout (0, 30, 127, 15);
if (Switches.x[4]==0) ctlout (0, 29, 127, 15);
I tried other settings, but no success...
What is going on here, can anybody explain?
Wall<<<<head