I understand the way to save a variable value is by leaving it uninitialized, so that when I shut-down Lemur, the last value persists when Lemur is loaded up again--- so long as I saved the changes on the iPad.
But when I use "clamp" to restrict a value, the variable always resets to 0 on startup. I need to be able to save a value's state for recall, but also restrict it to a range of -1 to 8.
Uninitialized variables that use clamp don't persist
-
- Liine Staff
- Posts: 285
- Joined: 01 Oct 2010 11:06
Re: Uninitialized variables that use clamp don't persist
Can you give me a clear example, ideally with an attached .JZML and step-by-step instructions to reproduce the issue?
Please send the info to support@liine.net
Thanks,
NB
Please send the info to support@liine.net
Thanks,
NB
Re: Uninitialized variables that use clamp don't persist
Hi mh175,
May I ask what type of object are you using ? I can't reproduce it with a MultiSlider (I've attached example), However there is a special behavior with Faders that doesn't trig scripts if you save the template with Fader.x = 0.
Cheers,
May I ask what type of object are you using ? I can't reproduce it with a MultiSlider (I've attached example), However there is a special behavior with Faders that doesn't trig scripts if you save the template with Fader.x = 0.
Cheers,
- Attachments
-
- Clamp Test.jzml
- (3.29 KiB) Downloaded 52 times