Graphics

 View Only
  • 1.  Take Offline with Visual Logic or Script

    Posted 11-02-2023 05:29

    Hello 

    I made a countdown that counts down to a specific time and resets itself to 59:59 as soon as the time is reached. Is there a way to take it offline in the sequence with visual logic or a script?



    ------------------------------
    Oliver
    ------------------------------


  • 2.  RE: Take Offline with Visual Logic or Script

    Posted 11-02-2023 07:32

    Yes you can. 

    One option is make a scene director with an offline event and trigger that to play once the time reaches 0 or whatever number you wish it to trigger at. 

    Or you can achieve the same with script onSetText;

    dim sd as xpSceneDirector

    scene.GetSceneDirectorByName("OUT", sd)

    if text = "00:00"
    sd.play
    end if



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



  • 3.  RE: Take Offline with Visual Logic or Script

    Posted 11-02-2023 08:02

    Thank you very much Simon works perfectly fine now



    ------------------------------
    Oliver Frei
    ------------------------------



  • 4.  RE: Take Offline with Visual Logic or Script

    Posted 11-02-2023 08:03

    No problem :)



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