Graphics

 View Only
Expand all | Collapse all

Run a Scene Director when score changes using Visual Logic

  • 1.  Run a Scene Director when score changes using Visual Logic

    Posted 09-10-2025 12:43

    Hello everyone,


    I'm trying to find a way to trigger a Scene Director when the score increases by exactly 3 points (for example, in basketball when a triple is made). The idea is that the Scene Director would play an animation for the "triple" before the score updates on screen.


    I can currently achieve this using Dashboard, but I'd really like to do it directly in Visual Logic to get it done automatically.


    Has anyone set this up before or knows the best way to do it?


    Thanks in advance!



    ------------------------------
    Kydennis Garcia
    San Juan United States
    ------------------------------


  • 2.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-10-2025 13:50

    There's a lot of discussions about this if you search ".playrange" you'll find a number of topics.

    Here's one example.

    https://rossvideo.community/discussion/triggering-different-scene-directors-from-a-datalinqed-textbox



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



  • 3.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-16-2025 23:34

    Hello!

    I meant using Visual Logic, not scripts. I have been looking for a long time trying to make it with Visual Logic but I haven't found one discussion.



    ------------------------------
    Kydennis Garcia
    San Juan United States
    ------------------------------



  • 4.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-17-2025 07:58

    In XPression Version 11.5, we added on OnSetText visual logic block that lets you trigger a scene director when text changes in a scene. You can use that new block, combined with a subtract block to evaluate if your new score is 3 more than your old score, to trigger a specific scene director. 



    ------------------------------
    Jeff Mayer
    Ross Video
    ------------------------------



  • 5.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-17-2025 08:18

    Oh, I see! My license only allows version 10.x



    ------------------------------
    Kydennis Garcia
    San Juan United States
    ------------------------------



  • 6.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-17-2025 10:44

    Video that explains how to do what Jeff said. 
    https://www.rossvideo.com/resources/ross-university/onsettext-visual-logic-block/ 

    Let me know if you want to try it with script, its a very small script you can copy and past in your current version. 




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



  • 7.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-18-2025 23:13

    Hey there Simon, that video link doesn't work no more. Do you have another video source?



    ------------------------------
    Alejandro Galvan
    LA36 LOS ANGELES TV ACCESS
    ------------------------------



  • 8.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-21-2025 13:56

    I was able to see the video at Simon's link, but if you can't access that still, you can also try watching the video on the Apple Podcast website https://podcasts.apple.com/lv/podcast/basics-240-onsettext-visual-logic-block/id1626861736?i=1000641078091



    ------------------------------
    Jeff Mayer
    Ross Video
    ------------------------------



  • 9.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-24-2025 00:47

    Yes! That will be amazing! My goal is that if the score changes by 3, trigger a scene director.



    ------------------------------
    Kydennis Garcia
    San Juan United States
    ------------------------------



  • 10.  RE: Run a Scene Director when score changes using Visual Logic

    Posted 09-24-2025 05:55

    Here is a previous thread on this question. 
    https://rossvideo.community/discussion/basketball-score-bug-animation-scripting-1



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