Hi all,
Feel like this is something stupid simple that I'm missing and please excuse my newb-ness.
As background: I'm a software guy by trade, no formal XPression systems but have some downtime and seeing as I have 6 XPression Prime systems (3 are brand new and running Xpression 10, the other 3 are old and running Xpression 7) deployed on the way to around double that -- where we're currently using maybe 1% of XPression's capabilities I figured I'd do some "playing" to both stretch my legs and get to know XPression better. I'm using an Xpression Designer 7 license for my experimentation. Please be gentile :)
All of the systems are controlled 100% via automation (via CII) which may complicate the question a bit.
I have a scene with a simple animation I want to come in when the scene is taken online and then reverse as the scene is taken offline. I have everything figured out except triggering the "out" animation.
In scripting I'm currently trying
Sub OnBeforeOffline(engine as xpEngine, Self as xpScene, ByRef Handled as Boolean)
dim director as xpSceneDirector
Self.GetSceneDirectorByName("Animation Out", director)
director.Play(True, 5)
When I try taking the scene offline with this code in place the scene director runs but the scene never goes offline. I've tried changing the WaitFor and TimeOut values in director.Play with no apparent effect (though the documentation I can find doesn't really describe what these parameters effect)
If I try adding a Self.SetOffline to the end of that I crash Xpression designer with 100% repeatability...so I'm sure that's not what I should be doing.
Thanks for any pointers!