Hey Zachary!
That fixed my problem, thank you.
I used this script in OnShow of my Event Markers.
dim sd as xpSceneDirector
dim fb as xpOutputFrameBuffer
Engine.GetOutputFrameBuffer(0, fb)
fb.GetSceneOnLayer(0, scene)
Scene.GetSceneDirectorByName("Story01", sd)
sd.play()
Since my text bounding boxes varied depending upon the length of headlines, I needed to trigger stagger animations in child scene directors to reveal my text when the event markers appeared in frame.
All of this is to give my producers a motion graphic to push viewers to our website and news app with current visuals/stories DataLinq'd from the website.
Thanks,
James.
------------------------------
James Hessler
WAAY TV (ALLEN MEDIA BROADCASTING)
------------------------------
Original Message:
Sent: 06-01-2024 16:10
From: Zachary Fradette
Subject: Event Markers won't work when played from sequence
I'll admit, I'm not sure where the Event Markers are coming into play, like what you're using them for, however when we want to trigger a scene that we're playing from a sequencer, keep in mind that that take item represents a copy of the scene.
Getting a Scene from the project or from the Engine, will only get the base template scene, not the copy that's currently on air. For that, we'll either need to ask an OutputFrameBuffer (Engine.GetOutputFramebuffer, then ofb.GetSceneOnLayer)
------------------------------
Zachary Fradette
United States
------------------------------
Original Message:
Sent: 05-31-2024 23:06
From: James Hessler
Subject: Event Markers won't work when played from sequence
Hey Azathoth,
Scene.Project.GetScene worked the same as Engine.GetScene---only when put my scene online in layout mode and played the main scene director.
Self.Project.GetScene would not compile.
I looking at the SDK Help, I cannot tell that any of this should work at all---I find no mention of GetSceneByName or GetSceneDirectorByName.
Could it be that this isn't possible till I upgrade to a version later than v10.5 build 5543?
Am I doing something else wrong with event markers?
More than they're designed to do?
Thanks,
James.
#XPression
------------------------------
James Hessler
WAAY TV (ALLEN MEDIA BROADCASTING)
Original Message:
Sent: 05-31-2024 13:44
From: Azathoth Son of Cthulhu
Subject: Event Markers won't work when played from sequence
If the scene that is calling this is in the same project as the scene you are trying to find, I'd recommend using
Scene.Project.GetSceneByName("NewsAppPush", Scene, false)
or
Self.Project.GetSceneByName("NewsAppPush", Scene, false)
depending where this script is being called from.
Using xpProject instead of xpEngine can solve a lot of problems, especially with xpMaterials.
Can't guarantee this is the fix. I just know xpEngine always seems to be a crap shoot.
------------------------------
Azathoth
Son of Cthulhu