I tried something similar for a different scene - this time I attempted to move the Animation Controllers, and I thought I had the script correct based on your note above. However, I'm not getting anything to move. What is incorrect in my code below?
dim track1, track2 as xpSceneDirectorTrack
dim top, bot as xpSceneDirectorClip
scene.GetTrackByName("Track1", track1)
scene.GetTrackByName("Track2", track2)
track1.GetClipByName("top", top)
track2.GetClipByName("bot", bot)
if trim(text) = "0" then
top.position = 0.0
bot.position = 30.0
elseif trim(text) = "1" then
top.position = 30.0
bot.position = 0.0
end if
#XPression