1 Reply Latest reply on May 10, 2006 11:07 AM by Newsgroup_User

    Wait for cast member

    blackmetalmouth Level 1
      Hi there,

      I'm trying to write a line or two of lingo that will effectively do the same job that the 'Wait for Cue Point' does. Although, unlike in the stopwatch channel, I want to be able to specify where the timeline goes to after it's waited for the cast member.

      In my case, the cast member if a MOV file.

      Any help would be greatly appreciated!
        • 1. Re: Wait for cast member
          Level 7



          on exitFfame
          if sprite(10).movieTime < 12 * 60 then go to the frame -- 10 secs
          else go to "oneDestinationMarkerName"
          end

          -- as I recall the current time of a mov sprite is reported in ticks
          1/60 sec, other time units like .currenttime report milliseconds 1/100



          The most common reason for using a script workaround it the problem
          with the tempo channel waits locking out the user interface for the
          duration.