Red,
I took a look, and all I have set for the OnSetText for the home and away datalinq's is:
dim sd as xpSceneDirector
scene.GetSceneDirectorByName("AwayGoal", sd)
if CInt(text) - CInt(self.text) = 1 then
sd.PlayRange(0, sd.duration)
end if
Just sub Home for Away for the home side.
I do have some visual logic set up as I was testing that way to make this work but I have it disabled. This was also for the home side, not the away side. The first visual logic screen is setup to change period values and the 3rd is empty.
I am starting to run out of ideas.

------------------------------
Jeff Bins
AV Production Supervisor
PMI ENTERTAINMENT - RESCH CENTER
Green Bay United States
------------------------------
Original Message:
Sent: 08-22-2022 03:53
From: Simon Redmile
Subject: Score change animation
My instinct is you want to put some logic on your onsettext that checks the state of the scene. You could do a check such as what state is the "in" scene director, if its playing then don't play your goal animation. When I get a moment I'll test something.
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
Original Message:
Sent: 08-18-2022 17:22
From: Jeff Bins
Subject: Score change animation
Red,
Both animations work when the score changes. Just when the away value = 1, the scene director GOAL animation triggers when the scene goes online. The Home score does not. I attached a GIF that shows the home score at 1 and the away score at 2 going online. Then I change the value to 1 on the MAD, and when coming online it plays the goal animation.
https://bit.ly/3CdPYoP
------------------------------
Jeff Bins
AV Production Supervisor
PMI ENTERTAINMENT - RESCH CENTER
Green Bay United States
Original Message:
Sent: 06-23-2022 14:53
From: Simon Redmile
Subject: Score change animation
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
Original Message:
Sent: 06-16-2022 10:40
From: Jeff Bins
Subject: Score change animation
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
------------------------------