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
------------------------------
Original Message:
Sent: 06-15-2022 05:16
From: Simon Redmile
Subject: Score change animation
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
Original Message:
Sent: 06-14-2022 17:16
From: Jeff Bins
Subject: Score change animation
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
------------------------------