Settatribute in one-line script doesn't set anything
Settatribute in one-line script doesn't set anything
I want to lock ball moving on y axis by button, but no luck when I doing it like this(which is the most obvious way in my humble view):
- Attachments
-
- play_si.jzml
- (7.02 KiB) Downloaded 49 times
Re: Settatribute in one-line script doesn't set anything
Hi
That's because holdY is not an accessible attribute
See https://forum.liine.net/viewtopic.php?f ... ute#p17918 for a module to list attributes.
However the holdY field in the behaviours pane is scriptable and is a good way to do it as inspect the object reveals what it is controlled by. So putting CustomButton.x here will make it respond the that variable.
You could also use logical constructs here if you want a bit more control...
Cheers
That's because holdY is not an accessible attribute
See https://forum.liine.net/viewtopic.php?f ... ute#p17918 for a module to list attributes.
However the holdY field in the behaviours pane is scriptable and is a good way to do it as inspect the object reveals what it is controlled by. So putting CustomButton.x here will make it respond the that variable.
You could also use logical constructs here if you want a bit more control...
Cheers
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Re: Settatribute in one-line script doesn't set anything
Check the Multiball behavior tab!
- Attachments
-
- play_si-holdY.jzml
- (6.84 KiB) Downloaded 59 times