I have a scene created that has 4 text fields that are connected to Datalinq. Each text field has a quad behind it for a background. I have scripted the text fields so that if the text is empty, the background box should not show:
Dim Box1 as xpBaseObject
Scene.GetObjectByName("Box1",Box1)
If Text = "" then
Box1.visible = false
end if
This is in the OnSetText event for the text box. The scene is animated to show one text box/background at a time. This works on the first run through, then it just stops (I have it set to loop through each text box, showing one at a time if there is text to display). After it runs through the animation, I have an event that says to jump back to frame 0, making an infinitely looping display. However, whenever I change the visibility of a quad, it runs once and then everything disappears. Any ideas would be greatly appreciated!!
Thanks,
Chris