We have an element that changes every show (Roughly 40 games) and Im looking to insert a pause about halfway through the clip.
im trying to avoid having to load it as a video in layout every time it needs to be change. right now i have it linked to a quad via Dynamic material, but it doesn’t observe the pause i have in scene director. Any tips i could use to fix the issue? I am open to other solutions, this just seemed to be the most straightforward option.
Place this script where you want to pause the video
Dim videoObj As xpBaseObject
Dim mat As xpMaterial
Self.GetObjectByName(“video”, videoObj)
If videoObj.GetMaterial(0, mat) Then
mat.Play
mat. Pause
End If
At a later point where you want the material to continue, place this script
Dim videoObj As xpBaseObject
Dim mat As xpMaterial
Scene.GetObjectByName(“video”, videoObj)
If videoObj.GetMaterial(0, mat) Then
mat. Play
End If
I should note that the first script does require the play then pause for it to pause, that is not a mistake.