Graphics

 View Only
  • 1.  Scene Visibility based on another scene

    Posted 09-30-2015 01:00
    I was wondering if there is a way to prevent a scene from going online without another scene being online first.

    I have a football score bar that we Control thru a Dashboard interface it works great, however sometimes the operator will put on the downs and distance or trigger clock animations when the bug is not online. So I a hoping there is a way to just prevent them from triggering without the score bar being online first. Maybe with a script or a scene trigger or something.

    Thanks


  • 2.  RE: Scene Visibility based on another scene

    Posted 09-30-2015 01:22
    Yes, If you are running version 5.9-3145 or higher then you can do this using the OnBeforeOnline script.

    Place this script in any scene that you don't want to be online unless the scorebar is already online.

    Adjust the output and layer number in the script to match whichever layer the scorebar normally resides on.

    Edit the name of the scene in the script to match the scene name of your scorebar scene.

    `dim output as xpOutputFramebuffer

    dim scene as xpScene

    ' abort set online unless we find scorebar on output 0 layer 0

    AbortSetOnline = true

    engine.GetOutputFramebuffer(0, output)

    if output.GetSceneOnLayer(0, scene) then

    if scene.Name = "Scorebar" then

    AbortSetOnline = false

    end if

    end if

    `

    #XPression


  • 3.  RE: Scene Visibility based on another scene

    Posted 09-30-2015 01:24
    thanks I will give it a try

    #XPression


  • 4.  RE: Scene Visibility based on another scene

    Posted 09-30-2015 01:45
    Works perfectly, thank you

    #XPression