Graphics

 View Only
  • 1.  Score change animation

    Posted 06-14-2022 17:16
    I know I have seen it somewhere on the User Community before, but I cannot seem to find it. All I want to do is run an animation based on a datalinq value change. For instance in basketball if a 3 is made, I want to run a 3pt animation in the scorebox and then go back to the score.

    ------------------------------
    Jeff Bins
    AV Production Manager

    Green Bay United States
    ------------------------------


  • 2.  RE: Score change animation

    Ross Staff
    Posted 06-15-2022 05:17
    You'll want something like this on the text object with the datalinq value. Where I have put 0 and 60 you can put your start and end keyframes or use something like sd.duration as your end keyframe. 

    dim sd as xpSceneDirector

     

    scene.GetSceneDirectorByName("3Points", sd)

     

    sd.PlayRange(0, 60)





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



  • 3.  RE: Score change animation

    Posted 06-16-2022 10:40
    I used the script above and it works great!

    However on my Away Score animation. If I bring the bug online, it will run the away animation if the data value is "1". The home side does not do this.

    I did modify the script a little bit:

    dim sd as xpSceneDirector
    scene.GetSceneDirectorByName("AwayGoal", sd)
    if CInt(text) - CInt(self.text) = 1 then
    sd.PlayRange(0, sd.duration)
    end if


    Any thoughts?

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



  • 4.  RE: Score change animation

    Ross Staff
    Posted 06-23-2022 14:53
    Check your script, most likely just a naming error on "HomeGoal" if it is working for away goal.

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



  • 5.  RE: Score change animation

    Posted 06-30-2022 22:02
    Hi there,Because the data will be updated immediately, the updated results have been seen before the animation is broadcast.
    If I want to update the data after the animation is played, is there any good way?

    ------------------------------
    alan
    ------------------------------