dim scene as xpScene
dim fb as xpOutputFramebuffer
dim scenedir as xpSceneDirector
dim layer as integer
engine.GetOutputFramebuffer(0, fb)
for layer = 0 to 10
if fb.GetSceneOnLayer(layer, scene) then
if Scene.Name = "Your Scene name" then
if scene.GetSceneDirectorByName("your scene director", scenedir) then
if scenedir.position >= 150 then
scenedir.PlayRange(150, 0)
else
scenedir.PlayRange(0, 150)
end if
end if
end if
end if
next
give this a try. This looks at the position of the "play head" on the scene director. If it is greater than (in this case) 150 then it will play in reverse. This also works on any layer between 0 and 10. (you can change these number to expand the layers it would play on including negative numbers)
Get back to me if I have made a typo
#XPression