Hi Avery.
The problem is that when you put a script on OnSetText, it runs before the other text object receives data from DataLinq. So do this: 1 create an additional SceneDirector, place an Event with the script below on the first frame.
Dim shown, data As xpTextObject
Dim dir As xpSceneDirector
scene.GetObjectByName("H SHOWN", shown)
scene.GetObjectByName("H DATA", data)
Dim points As Integer = CInt(shown.Text) - CInt(data.Text)
Dim name As String
If points = 3 Then
name = "H3PT"
Else
name = "H2PT"
End If
scene.GetSceneDirectorByName(name, dir)
dir.PlayRange(0, 30)
2. In OnSetText in both text objects, make a script that pushes this auxiliary SceneDirector to play
------------------------------
Roman Yaroshenko
chief specialist
RBC-TV
Moscow Russian Federation
------------------------------