Page 1 of 1
compare values of fader.x
Posted: 17 Nov 2012 13:58
by shanekoss
wondering if anyone has an idea to perform a function based on a change in x.
i am wanting to perform one function if the fader value is increasing and a different function if the fader value is decreasing.
thanks!
Re: compare values of fader.x
Posted: 18 Nov 2012 14:58
by Rie
Add lastX expression to fader
Code: Select all
if(x>lastX) functionA;
if(x<lastX) functionB;
lastX = x;
Re: compare values of fader.x
Posted: 18 Nov 2012 22:15
by Macciza
Or . . .
Under your Fader makes 2 scripts executing on x - Call one 'up' and set to '+' (increasing) and the other 'down' and set to '-' (decreasing) for execution timing . . .
You now have 2 separate scripts that you can program how you like . .
Cheers
MM
Re: compare values of fader.x
Posted: 26 Nov 2012 22:37
by shanekoss
thanks!