by PedroR » Mon Dec 28, 2009 12:48 pm
by PedroR
Mon Dec 28, 2009 12:48 pm
if you're looking to test if a motion page is still playing there is a better way to do it:
[LOOP]
[MotionPage] = X
[CONDITION STAND] - While [MotionPage] != 0
[NEXT motion page]....
[END LOOP]
To determine if a MotionPage is still running you check IF [MotionPage] == 0
If the motion page is running this check will return the number of the motion playing.
If the motion has ended, it will return 0.
Finally, if you want to interrupt a motion while it is running set:
[MotionPage] = 0
Regards
Pedro.
if you're looking to test if a motion page is still playing there is a better way to do it:
[LOOP]
[MotionPage] = X
[CONDITION STAND] - While [MotionPage] != 0
[NEXT motion page]....
[END LOOP]
To determine if a MotionPage is still running you check IF [MotionPage] == 0
If the motion page is running this check will return the number of the motion playing.
If the motion has ended, it will return 0.
Finally, if you want to interrupt a motion while it is running set:
[MotionPage] = 0
Regards
Pedro.