I want to be able to control a simple animation controller from a SmartGPI. In the SmartGPI config I set up a script event and tried this script:
--
dim fly as xpAnimController
dim vsset as xpScene
Engine.GetSceneByName("Scene6", vsset)
vsset.GetAnimControllerByName("MonitorUpp", fly)
fly.play
--
I've also tried fly.start() and fly.playrange(0,35) but I just can't seem to get the animation controller to play. I've looked in some sample project, and as far I can see, the script should be correct... Does anyone have any idea why I can't get this to work?
thx Martin