I'm still struggling with timeOut and timeLength concepts and my brain has gone to
mush (sorry).
In my no startmovie script I have added:
the timeOutLength=15*60
the timePutScript="myTimeOutHandler"

and

on myTimeOutHandler -- a movie script
if random (2)=2 then
go tgo frame 230
else
if randpm = (2)=2 then
go to frame 185
else go to frame 141
end else
end else
end

Now this seems to be working for the moment !!!! but is there a way to
diable/forget (Idon't know the correct terminology) the timeOut script. I don't
want any more, no matter how long between mouseclicks, for "myTimeOutHandler" to
be executed. Is there  a way to do this - or am I approaching this from the wrong
angle entirely. Any advice would be greatly  treasured. TYhanks again
mm

Kerry Thompson wrote:

> >>on exitFrame me
> >>go to the frame
> >>if the timeoutLapsed>300 then
> >>to to frame 2
> >
> >I think you'll find that any code after the "go to the frame" is ignored,
> >try swapping the statements.
>
> Nope, that's not it. That's one of the interesting things about
> Lingo--those lines *will* execute. Any code after a "go to frame" (or move)
> will continue to execute. It's counterintuitive to a beginner, but there it is.
>
> Have you set the timeoutLength? TimeoutLapsed is the number of ticks since
> the last timeout.
>
> Cordially,
>
> Kerry Thompson
>
> [To remove yourself from this list, or to change to digest mode, go to
> http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
> email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
> Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to