Graphics

 View Only
  • 1.  Scripting Wait or Stop

    Posted 05-26-2022 11:26
      |   view attached
    Here is my script below. The issue I have is everytime the timer changes, the script fire off again causing a loop like you see in the video. My current script is this:

    dim sd as xpSceneDirector
    dim si as xpSceneDirector

    scene.GetSceneDirectorByName("IN", sd)

    if text >= "0:01" then
    sd.PlayDirection = PlayDirection.pd_Forward
    sd.continue

    end if

    scene.GetSceneDirectorByName("Out", si)

    if text <= "0:01" then
    si.PlayDirection = PlayDirection.pd_Forward
    si.play
    end if

    ------------------------------
    Jeff Bins
    AV Production Supervisor
    PMI ENTERTAINMENT - RESCH CENTER
    Green Bay United States
    ------------------------------


  • 2.  RE: Scripting Wait or Stop

    Posted 05-26-2022 11:35
    I assume this on set text. 

    with this line "if text >= "0:01" then" to trigger every time the number is greater so it triggers with every number change?

    Would you not just want = there so it plays it the once at 0:01 and never again or have I miss understood what you're trying to achieve.

    Sorry I couldn't really spot anything in the video. 


    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: Scripting Wait or Stop

    Posted 05-26-2022 11:43
    Correct. This is OnSetText. 

    I swear I did just = before and it did not work, but now it seems to be working. I will keep playing and see if I can break it again.

    ------------------------------
    Jeff Bins
    AV Production Supervisor
    PMI ENTERTAINMENT - RESCH CENTER
    Green Bay United States
    ------------------------------



  • 4.  RE: Scripting Wait or Stop

    Posted 05-26-2022 11:45
    Cool good luck! :)

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------