I'm trying to have a different scene come online when a Object is triggered on. It's flame animation linked to the pitch speed, when it's above 90, the Flame animation triggers on and then clears it's self. Right now I can't get the scene to trigger on when it happens. This is the code I have currently:
dim fire as xpBaseObject
dim animates as xpAnimController
dim scene as xpSceneDirector
dim takeitem as xpTakeItem
scene.GetSceneDirectorByName("Fire Animation", animates)
self.GetObjectByName("Fire Home", fire)
self.GetOnline(5, 21)
if fire.visible then
engine.sequencer.GetTakeitemByID(5, takeitem)
takeitem.Execute
end if
I'm not sure where I'm going wrong, Thank you for all help!
------------------------------
Alexa McGlade
Live Event Producer
UCF
------------------------------