Graphics

 View Only
  • 1.  Transitions for change of data from Dashboard

    Posted 15 days ago
    Howdy y'all, 

    Apologies if this is a question that's been answered before but my google-fu has failed me.

    I'm building a simple football scorebug and I'm looking to add transitions to the various text fields as they change. For example a dissolve and push to the score text field when the text changes, or simple a dissolve between entries when the downs change. Would this be a script or used under transition logic? 

    Any help would be appreciated.

    ------------------------------
    Patrick Allen
    Operations Manager
    L2
    ------------------------------


  • 2.  RE: Transitions for change of data from Dashboard

    Ross Staff
    Posted 15 days ago
    This will set you right.
    https://livinglive.community/discussion/run-scenedirector-onsettext

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



  • 3.  RE: Transitions for change of data from Dashboard

    Posted 15 days ago
    Thank you so much! I still don't understand how to create it from scratch (brand new to scripting) but I did get it to work.

    ------------------------------
    Patrick Allen
    Operations Manager
    L2
    ------------------------------



  • 4.  RE: Transitions for change of data from Dashboard

    Ross Staff
    Posted 14 days ago
    Got to start somewhere, I started by learning from this forum as well :)

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



  • 5.  RE: Transitions for change of data from Dashboard

    Posted 14 days ago
    Could you point me in the right direction for a script to run a scene director whenever a quad is changed from invisible to visible? In visual logic I have a network logo set to turn visible whenever there's no text in the down and distance text. I'd like it to animate on rather than just cut on.

    ------------------------------
    Patrick Allen
    Operations Manager
    L2
    ------------------------------



  • 6.  RE: Transitions for change of data from Dashboard

    Ross Staff
    Posted 14 days ago
    I would think about this in a different way. 

    Make an animation that brings the quad visible or invisible and then use onset text the way you did before except you'll want an if statement. 

    'this checks if its an empty string or not
    If text = ""
    Dim dir As xpSceneDirector
    scene.GetSceneDirectorByName("name_of_your_Qaud_SceneDirector_IN", dir)
    dir.Play() 
    else
    Dim dir As xpSceneDirector
    scene.GetSceneDirectorByName("name_of_your_Qaud_SceneDirector_OUT", dir)
    dir.Play() 
    end if

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



  • 7.  RE: Transitions for change of data from Dashboard

    Posted 7 days ago

    OK so can I string together multiple IF statements?

    I essentially want it to animate NETWORK IN when the DOWN text is empty and when the DOWN changes I want it to animate DOWNS IN so that it'll also run the animation when the text changes between, say "1st Down" and "2nd Down" and so forth. But, without the NETWORK quad in it. 

    If I have the NETWORK quad animate out on DOWNS IN then it will keep animating every time I change the downs. So how do I write this out where

    IF txt="" then NETWORK IN
    If txt="[n]" then DOWNS IN, and make NETWORK is invisible? Or can I have it where If txt="[n]" runs NETWORK OUT, but when it changes between from one string to another it runs DOWNS IN?

    Hopefully I'm making sense.



    ------------------------------
    Patrick Allen
    Operations Manager
    L2
    ------------------------------



  • 8.  RE: Transitions for change of data from Dashboard

    MalThePal
    Posted 7 days ago
    You start with an if statement, then all the rest are else if statements. and end with an end if.

    ------------------------------
    Malcolm Thorpe
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------



  • 9.  RE: Transitions for change of data from Dashboard

    Ross Staff
    Posted 7 days ago
    As Mal said you just write a bunch of if statements. 

    Dim dir As xpSceneDirector

    If text = "BLUE"
    scene.GetSceneDirectorByName("BLUEDIRECTOR", dir)
    dir.Play() 
    end if

    If text = "YELLOW"
    scene.GetSceneDirectorByName("YELLOWDIRECTOR", dir)
    dir.Play() 
    end if



    and so on, there are more efficient ways to do this if you have a lot but this is the most simple and I think it will do what you need for now.

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