I had to place my script at the OnOnline event rather then the OnSceneOnline event to get it to work. Can somebody explain how the behaviors differ between the two events?
Also, the animation in my super scene doesn't run. Is there a way to load the scene at frame 0 ( setOnline(0,-3,0) ) and play it's animation at the same time as my main scene? Right now I'm using setOnline(0,-3,80) to jump past the animation because otherwise nothing is on the screen yet.
EDIT: Alright guys. Here's what I've come up with to get the animation going but it still didn't work.
dim MySuper as xpScene
dim MyAnimation as xpSceneDirector
Engine.getSceneByName("Super", MySuper)
MySuper.setOnline(0,-3,0)
MySuper.getTrack(1, MyAnimation)
MyAnimation.play()
It would be great if you could let me know if I did something wrong there and then I'll leave ya'll alone. Thanks again!
EDIT2: I got it! Instead of calling the track I called on the animcontroller and we're good to go!
dim MySuper as xpScene
Engine.getSceneByName("Super", MySuper)
MySuper.setOnline(0,-3,0)
MySuper.SceneDirector.Play()
#CrossOver