Search found 23 matches
- 22 Jun 2014 01:09
- Forum: Troubleshooting
- Topic: Uninitialized variables that use clamp don't persist
- Replies: 2
- Views: 860
Uninitialized variables that use clamp don't persist
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 ...
Re: Scroller
Great job!
- 15 May 2013 14:13
- Forum: General Discussion
- Topic: Is there a way to turn off a switch and not trigger it
- Replies: 4
- Views: 1031
Re: Is there a way to turn off a switch and not trigger it
Thanks! Like 2 seconds after I posted this it hit me to use the "return" command. Der.
Yes a z variable would make this very easy!
Thanks again.
Yes a z variable would make this very easy!
Thanks again.
- 15 May 2013 13:52
- Forum: General Discussion
- Topic: Is there a way to turn off a switch and not trigger it
- Replies: 4
- Views: 1031
Is there a way to turn off a switch and not trigger it
Is there a way to turn off a switch but not necessarily trigger the script attached to its off state? I want to have two switches, but only one can be on at any time (similar to radio mode). If I press one switch the other switch turns off. My problem is that each switch has a script that is ...
- 04 Mar 2013 20:29
- Forum: General Discussion
- Topic: commercial templates bad for the community?
- Replies: 165
- Views: 36259
Re: commercial templates bad for the community?
You spent thousands of hours on your controller and someone slammed you for charging people to buy it? Ugh. This kind of crap makes me insane. They should go and learn Lemur then. Have fun with that manual. And I hope you remember your high school math. Seriously man, don't give this issue another ...
- 25 Feb 2013 05:16
- Forum: General Discussion
- Topic: arraytostring?
- Replies: 8
- Views: 2732
arraytostring?
The last piece of my puzzle. Now that I have my array
a={8,12,5}
I want to concatenate this into the number 8125
Not sure why but arraytostring just gives me a bunch of ''''''''' in my monitor. Not sure if I have the syntax right:
arraytostring(a[0, 1, 2])
a={8,12,5}
I want to concatenate this into the number 8125
Not sure why but arraytostring just gives me a bunch of ''''''''' in my monitor. Not sure if I have the syntax right:
arraytostring(a[0, 1, 2])
- 25 Feb 2013 04:41
- Forum: General Discussion
- Topic: Not sure why I can't set(array,value,position)
- Replies: 2
- Views: 711
Re: Not sure why I can't set(array,value,position)
Yessir, that did it. Thank you again!
- 25 Feb 2013 03:29
- Forum: General Discussion
- Topic: Not sure why I can't set(array,value,position)
- Replies: 2
- Views: 711
Not sure why I can't set(array,value,position)
I have a project level variable "a". I'd like it to be an array of 3 values.
The manual says that I should be able to change any of the values of "a" to whatever I value want.
But
doesn't seem to do anything.
Any ideas?
Thanks in advance!
The manual says that I should be able to change any of the values of "a" to whatever I value want.
But
Code: Select all
set(a,12,0);
Any ideas?
Thanks in advance!
- 25 Feb 2013 03:24
- Forum: General Discussion
- Topic: Is there some slick way to do this?
- Replies: 2
- Views: 773
Re: Is there some slick way to do this?
Thank you!
- 25 Feb 2013 00:22
- Forum: General Discussion
- Topic: Is there some slick way to do this?
- Replies: 2
- Views: 773
Is there some slick way to do this?
With one line of code? I'm tired of typing all this. I just want the value a to increment by one in my multipad object. Can't I specify a range for Pads.x and then tell a to find the position of the button press? if (Pads.x[0])a=1; if (Pads.x[1])a=2; if (Pads.x[2])a=3; if (Pads.x[3])a=4; if (Pads.x ...