Scaled increment

Discuss Lemur and share techniques.
Post Reply
m0n0l0c0
Newbie
Posts: 2
Joined: 23 Aug 2013 18:21

Scaled increment

Post by m0n0l0c0 »

Hi, this is my first post.
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);
	}
}
Any help is appreciated;
Cheers.
Attachments
BigKnobs.jzml
Project
(17.24 KiB) Downloaded 67 times
Post Reply