Graphics

 View Only
  • 1.  Visual Logic, creating an animation with persistant data

    Posted 08-30-2025 19:50
      |   view attached

    Edit: [SOLVED] See my reply.

    Greetings all -

    Looking for guidance on how I can achieve the following: a 5-on-4, 4-on-4, etc., powerplay is over (Hockey), so the powerplay slider animates out (i.e., slides back underneath the main score bug) via a Scene Director being triggered with visual logic (reading data from an AllSport CG, determining the conditions are not true for a non-standard single player powerplay).

    Here is the issue I am running into: my 5-on-4, 4-on-4, etc., powerplay graphic uses the same background and are contained within the same AnimationController. I simply use visual logic to hide/unhide the text layers that say "5 on 4" or "4 on 4", etc., based on conditions. HOWEVER, when the conditions are not true, I use visual logic to trigger the "powerplay OUT" Scene Director to play - this is where the issue is. Because of the fact that the conditions are not true, all the text disappears (is hidden) before the background is finished animating out.

    Is there a way to tell what text last had the visibility toggled ON? So that when the Scene director is triggered, I can replace with that string (i.e. "4 on 4" etc.) so that it looks like the text is still sliding out with the background? Or do you have any other possible solutions?

    Many many thanks!

    I hope I'm being clear on what I need help with. I've attached the VL to this post.



    ------------------------------
    Elias Kutz
    Broadcast Engineer
    Bethany Lutheran College
    ------------------------------

    Attachment(s)



  • 2.  RE: Visual Logic, creating an animation with persistant data

    Posted 08-31-2025 03:49

    Hello,

    you can use a text object to write the last text object whose visibility has been enabled.



    ------------------------------
    Hervé Wintz
    Responsable de maintenance
    France Télévision
    ------------------------------



  • 3.  RE: Visual Logic, creating an animation with persistant data

    Posted 08-31-2025 12:03

    Hi all - after a good night's sleep, I woke up with a solution!

    I simply need a separate Scene Director for each text (5 on 4, etc.) that sets the alpha to 100, and all others to alpha @ 0 at frame 1. Then I stop the Scene director on frame 2. I do this for each text. That way, when it animates out, the most recent text is still visible.



    ------------------------------
    Elias Kutz
    Broadcast Engineer
    Bethany Lutheran College
    ------------------------------