Hi,
I've added a small script to the "OnSetText" event of a text object. I expect it to only trigger when I change the content of that specific text object, but it runs on every text change of every text object in the scene. Very similar to if it had been in the OnPrevierRender event.
Here's the script for reference:
dim gpi as xpGPIBoard
dim raceID, driverID as xpTextObject
scene.GetObjectByName("Race ID", raceID)
scene.GetObjectByName("Driver ID", driverID)
engine.GetGPIBoard(2, gpi)
dim newMessage as string
newMessage = "loadRaceProfile:" + driverID.Text + ":" + raceID.Text
gpi.SendMessage(newMessage)
------------------------------
Chris Nicolay Wernersen
------------------------------