Hello! I am using XPression SCE 5.7 build 3064
I was recently tasked with designing a graphics package in XPression and I seem to be having a problem with my animation controllers. I have one scene that is my main scene where all the animations happen. I have two more scenes (Animation1/2) which are used to trigger the scene directors in the first scene. When I put the main scene online and then put the first trigger scene online, it works. When I put the main scene online and then put the second trigger scene online, it works. However, when I put the main scene online, put the first trigger scene online and offline, and then put the second trigger scene online, the second trigger scene will only animate the objects that were not animated by the first trigger scene. What's even weirder is that if I switch the order I put the trigger scenes online, it's still the second trigger scene that won't work. I have the debug console active and open and I'm not getting any errors.
Here is the script that I have in the OnSceneOnline event in the main scene:
' === Banner Animation ===
' Check if the Info Banner went online
if(OnlineScene.Name = "Animation1")
' Get the info banner scene director
dim xsdInfo as xpSceneDirector
if(Self.GetSceneDirectorByName("sdBannerInfo", xsdInfo))
' Play the animation
xsdInfo.PlayRange(0, xsdInfo.Duration)
else
Engine.DebugMessage("sdBannerInfo not found!", 2)
end if
end if
' Check if the Left Clock Banner went online
if(OnlineScene.Name = "Animation2")
' Get the info banner scene director
dim xsdInfo as xpSceneDirector
if(Self.GetSceneDirectorByName("sdBannerClockLeft", xsdInfo))
' Play the animation
xsdInfo.PlayRange(0, xsdInfo.Duration)
else
Engine.DebugMessage("sdBannerClockLeft not found!", 2)
end if
end if
I also have the project packaged up if you want to see it in action. However I'm not sure how to use the ross.brickftp.com site that everyone uses. It won't take my username and password and uploading it anonymously doesn't give me a link.
If anyone could give me some advice, it would be much appreciated!
Thanks!
Tyler