Quick question, I am relatively new to lemur, and after reading through the manual I was unable to immediately figure out how to solve/script this problem:
I would like to design a multiball where the default state of the ball is at the bottom left hand corner, so whenever I let go off the ball it will immediately return to that state (thus turning the effect off).
Thanks for the help ahead of time!
Multiball Scripting Question
Re: Multiball Scripting Question
Attached is an example. Hope that helps.
BxSj
BxSj
- Attachments
-
- test6.jzml
- (6.42 KiB) Downloaded 98 times
Win7 64, Ipad Lemur, Cubase6 and a bunch of Roland Synths and Samplers
Re: Multiball Scripting Question
thanks a ton! i'll try it out later tonight.
for future reference for anyone else looking how to do this, i found this thread over at the old jazzmutant forum, the link is below
"The simplest way is to use the MultiSlider, activate its Physic and sets its height to 0.
Now if you want to use a Fader, it's also pretty easy to do with a simple script (you need to use v2.0 for that).
1. Create a script local to the fader, call it "action" for instance.
2. Set its execution mode to "On Expression", triggered by z (type z in the adjacent field) when value goes from positive to zero (the arrow going down).
3. Type in x=0; in the panel below (don't forget the semi-colon)
That can also work with the MultiBall since it's got a z parameter (z=1 when you touch a ball), in that case you can type in two lines:
x=0;
y=0;
that way the ball gets back to the bottom-left corner."
http://forum.jazzmutant.com/viewtopic.php?p=13814
for future reference for anyone else looking how to do this, i found this thread over at the old jazzmutant forum, the link is below
"The simplest way is to use the MultiSlider, activate its Physic and sets its height to 0.
Now if you want to use a Fader, it's also pretty easy to do with a simple script (you need to use v2.0 for that).
1. Create a script local to the fader, call it "action" for instance.
2. Set its execution mode to "On Expression", triggered by z (type z in the adjacent field) when value goes from positive to zero (the arrow going down).
3. Type in x=0; in the panel below (don't forget the semi-colon)
That can also work with the MultiBall since it's got a z parameter (z=1 when you touch a ball), in that case you can type in two lines:
x=0;
y=0;
that way the ball gets back to the bottom-left corner."
http://forum.jazzmutant.com/viewtopic.php?p=13814
Re: Multiball Scripting Question
Beware, the z variable of the Multiball object behaves differently than the z variable of a Fader object. Check out the manual chapter 12.9.
Hope that helps,
BxSj
Hope that helps,
BxSj
Win7 64, Ipad Lemur, Cubase6 and a bunch of Roland Synths and Samplers