Next Lemur Update??
Posted: 29 Mar 2012 20:13
Any idea on when the update with the editor fix(es) will be released??
New issue:
Global variable; A_CurFrame , initialized to 4
Monitor; value = A_CurFrame
Custom Button; set as Pad;
script; incFrame
OnExpression x goes to 1
incFrame script (no parameters)
A_CurFrame--;
if(A_CurFrame == -1) A_CurFrame = 4;
press button 8 times
Monitor shows
4,3,2,1,0,-1,-2,-3,-4
change script to
A_CurFrame--;
if(A_CurFrame < 0) A_CurFrame = 4;
init A_CurFrame to 4
press button 8 times
Monitor shows
4,3,2,1,0,-1,-2,-3,-4
change script to
A_CurFrame = A_CurFrame - 1;
if(A_CurFrame < 0) A_CurFrame = 4;
init A_CurFrame to 4
press button 8 times
Monitor shows
4,3,2,1,0,-1,-2,-3,-4
I tried every conceivable code, same results.
Quit Lemur on iPad (cleared it out of memory)
Restart Lemur, same thing
Restart Lemur editor on iMac, same thing
Restart iMac, iPad, create new button, yada, yada, yada
Same results. The if statement NEVER fires.
I am baffled by this. So I'm including my entire template, this template sort of works but this is the rewrite version so a lot is missing.
In the left top area of the template is a monitor; A_CurFrameMonitor. Above that the light green button with the single left-pointing arrow is the button that contains all the code that I want to work, and of course doesn't because of this issue. Next to the monitor is a blank white button that has just the 2 lines of code mentioned above. If you want to reset A_CurFrame to 4 press the rightmost light green button with the right-pointing arrow/line button next to the red B OFF button.
Any help or "DUHHHH, where did you learn to program, you missed........." will be greatly appreciated.
Thanks,
joeb
New issue:
Global variable; A_CurFrame , initialized to 4
Monitor; value = A_CurFrame
Custom Button; set as Pad;
script; incFrame
OnExpression x goes to 1
incFrame script (no parameters)
A_CurFrame--;
if(A_CurFrame == -1) A_CurFrame = 4;
press button 8 times
Monitor shows
4,3,2,1,0,-1,-2,-3,-4
change script to
A_CurFrame--;
if(A_CurFrame < 0) A_CurFrame = 4;
init A_CurFrame to 4
press button 8 times
Monitor shows
4,3,2,1,0,-1,-2,-3,-4
change script to
A_CurFrame = A_CurFrame - 1;
if(A_CurFrame < 0) A_CurFrame = 4;
init A_CurFrame to 4
press button 8 times
Monitor shows
4,3,2,1,0,-1,-2,-3,-4
I tried every conceivable code, same results.
Quit Lemur on iPad (cleared it out of memory)
Restart Lemur, same thing
Restart Lemur editor on iMac, same thing
Restart iMac, iPad, create new button, yada, yada, yada
Same results. The if statement NEVER fires.
I am baffled by this. So I'm including my entire template, this template sort of works but this is the rewrite version so a lot is missing.
In the left top area of the template is a monitor; A_CurFrameMonitor. Above that the light green button with the single left-pointing arrow is the button that contains all the code that I want to work, and of course doesn't because of this issue. Next to the monitor is a blank white button that has just the 2 lines of code mentioned above. If you want to reset A_CurFrame to 4 press the rightmost light green button with the right-pointing arrow/line button next to the red B OFF button.
Any help or "DUHHHH, where did you learn to program, you missed........." will be greatly appreciated.
Thanks,
joeb