I'm trying to move some knobs(in a container) with a single Knob, but I want the value of the knobs to move scaled from their initial value, getting incremented with the Knob; like value-scaling vs. pick up value. I managed to get it like a pick up value, but I don't get it to work like a value scaling thing.
Here's the project and the code:
Code: Select all
decl obj=getfirst(BigKnobsA2.Container);
if (BigKnobsA2.CustomButton.x==0) return;
else if (BigKnobsA2.CustomButton.x==1);
{
while(obj)
{
setexpression(obj,'x',BigKnobsA2.Container.Knob.x);
obj=getnext(obj);
}
}
Cheers.