Graphics

 View Only
  • 1.  Xpression Script to Simply Set Scene Online

    Posted 02-24-2022 17:38

    Hi all,

    This seems like it should be extremely simple but I'm a bit stumped.

    We basically want to link two scenes to each other: Essentially if SceneA is online then SceneB should come online as well... and the same when SceneA goes offline, SceneB should go offline.

    What's the easiest way to achieve this? I was thinking about using a Script in SceneA's "onOnline" script section that would just fire SceneB. Or we could add a script to the Scene Director for SceneA's IN animation that will just fire SceneB.  

    Any suggestions would be greatly appreciated! The scripting is a little tougher than I thought.

    Thanks



    ------------------------------
    RYAN GORDON
    CHEDDAR TV
    ------------------------------


  • 2.  RE: Xpression Script to Simply Set Scene Online

    Posted 02-25-2022 03:41
    This will take a particualr take item online. 
    ''''''''''''''''''
    dim takeitem as xpTakeItem
    engine.sequencer.GetTakeitemByID(500, takeitem)
    takeitem.Execute
    ''''''''''''''''''''

    This will put the actual scene online rather than a copy from the sequencer. 
    '''''''''''''''''''''''''''''''''
    Dim OtherScene as xpScene
    if Engine.GetSceneByName("SceneB", OtherScene,False) then
    OtherScene.SetOnline(1,0,0)
    end if
    '''''''''''''''''''''''''''''''''''




    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 3.  RE: Xpression Script to Simply Set Scene Online

    Posted 02-25-2022 08:31
    You could also use Scene triggers on the scene directors.

    ------------------------------
    Malcolm Thorpe
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------



  • 4.  RE: Xpression Script to Simply Set Scene Online

    Posted 02-25-2022 08:37
    They don't take scenes online, they only trigger scenes already online.

    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 5.  RE: Xpression Script to Simply Set Scene Online

    Posted 02-25-2022 09:37
    Oops. Yep that's correct. Sorry for that, I didn't have my morning coffee.

    ------------------------------
    Malcolm Thorpe
    Free Lance Xpression Designer/Carbonite TD
    ------------------------------