Page 1 of 1

Custom Button/ Scripting question

Posted: 12 Feb 2012 19:06
by Salt+Slug
So I have a question about a script for an array of 100 custom buttons, in the "off state" the button value is 00 and the "on state" is whatever the value is needed for the program change. But, what I need is like a "radio control" so only one Button can be in on state (selected) at a time. And I need a sort of "z" value for time. So the action of the button would be like this; at pressing the value would send 00, (to reset the the value to default, as this is needed in order to select a new value) then after like .01 seconds send the new "on state" value.
As for the preset "reset", what if in a script, you had it select 00 in the "off state", because the "on state" would be the address of the preset, when selecting a second preset the attack of that preset returns the previous to the "off state" and after say .02 seconds the "on state" of the new preset is selected... If that makes sense?

just another way of putting it, I am new to the world of scripting and would appreciate the help