Graphics

 View Only
  • 1.  take item offline with scripting

    Posted 10-17-2014 15:46
    sorry, in show now, no time to research. what is the code to take scene on framebuffer o, layer 3 offline at the start of a take item? and, which bucket do i need to put this script in?

    thanks for help


  • 2.  RE: take item offline with scripting

    Posted 10-17-2014 15:48
    Add this to the OnOnline event:

    engine.ClearFrameBufferLayer(0,3)

    #XPression


  • 3.  RE: take item offline with scripting

    Posted 10-17-2014 16:22
    you're awesome, thanks. appreciate the prompt reply.

    #XPression


  • 4.  RE: take item offline with scripting

    Posted 10-17-2014 16:24
    assuming there is no error or failure if those layers are already empty/offline, when that script runs?

    sf

    #XPression


  • 5.  RE: take item offline with scripting

    Posted 10-17-2014 17:28
    There will be no error or issue if that script runs - even if the layer and channel are already clear.

    #XPression


  • 6.  RE: take item offline with scripting

    Posted 10-17-2014 17:54
    Awesome. Thanks Brian and Garner. As usual, speedy replies and great support! Keep it up!

    Shane

    #XPression


  • 7.  RE: take item offline with scripting

    Posted 10-18-2014 22:28
    Stumbled across this----and it solves a problem I've been contemplating. I added it as a script event in a scene director to clear multiple layers at a set time. Couldn't figure out the syntax, so I used multiple lines, each referencing a single layer. Can I simplify it?

    #XPression


  • 8.  RE: take item offline with scripting

    Posted 10-19-2014 23:16
    Example to clear all layers between -3 and +5..



    for i = -3 to 5

    engine.ClearFrameBufferLayer(0, i)

    next



    #XPression