dim output as xpoutputFramebuffer
dim scene as xpScene
dim dir as xpAnimController
'change the '0' to the framebuffer the scene will be on
' Index 0 = Framebuffer 1
' Index 1 = Framebuffer 2
engine.Getoutputframebuffer(1, output)
' change the '0' to the layer of the framebuffer the scene will be on
output.GetSceneonlayer(0, scene)
scene.GetAnimationControllerByName("Wrestler 1 Position / Opacity", dir)
'this is the range of frames the anim controller will play
dir.playrange(0, 50)
I'm sorry but I still can't seem to get it to work. The animation controller is named correctly, the sequence object is on framebuffer 2, layer 0 as well.
I even tried layer 1 and still can't get it to work.
#XPression