Graphics

 View Only
  • 1.  Go To Frame in Script event on Scene Director

    Posted 11-06-2020 14:38

    Is it possible to add a "go to and play frame" action in the Script Editor, on the timeline of the scene director?

    I have a IF loop, but don's now how I can jump to frame 200...

     

    if checktext.Text = "STOP" then

    GO TO FRAME 200

    end if

     

     

     



  • 2.  RE: Go To Frame in Script event on Scene Director

    Posted 01-28-2021 16:05

    You should probably use playrange. 

    this would jump to 200 and play until 300

    if checktext.text = "STOP" then

    dir.playrange(200, 300) 

    end if 

     

     

    or you can replaced the fixed number with duration of the scene director so...

    if checktext.text = "STOP" then

    dir.playrange(200, dir.duration) 

    end if 

     

    of course you'll need to go get the scene and scenedirector from the engine before that will work. You ok with that bit? 


    #XPression