Graphics

 View Only
  • 1.  Scripting a Continue Method

    Posted 09-07-2015 19:56
    I'm trying to create a script that continues all paused scene directors on scenes that are playing out of that same channel of Xpressions (They are on different channels). In the help file I found a reference to a Continue Method for the scene director, but I can't get it to work. The script I have written goes like this:

    Dim AnimCon as xpAnimController

    Engine.GetAnimControllerByName("AnimController1", AnimCon)

    AnimCon.Continue()


  • 2.  RE: Scripting a Continue Method

    Posted 09-07-2015 20:04
    You shouldn't need a script to do this, you should be able to use this keyboard action:



    #XPression


  • 3.  RE: Scripting a Continue Method

    Posted 09-07-2015 20:06
    If you really wanted to do it via scripting; your script would end up being a lot more complex than what you are trying.

    You would first need to loop over all layers on the output and retrieve the scene from them (if there is a scene on them), then within each scene loop over all scene directors and see if they are paused or not, and if they are resume them.

    #XPression


  • 4.  RE: Scripting a Continue Method

    Posted 09-08-2015 13:05
    The keyboard action is cool, but I need everything to be as automated as possible with as little overdrive coding as possible. This is for use in a live show where the director does not have a dedicated graphics operator and sometimes stories have to be cut during the show for time. The aim of this cg is that when it gets loaded up it automatically moves the rest forward. Can you explain the scripting process for me in a little more detail?

    #XPression