Graphics

 View Only
  • 1.  Xpression "“ Visual Logic Offsets

    Posted 09-02-2014 15:58
    Hello Everyone -

    It seems that if you use one "offset" block on a layer property, it works correctly.

    The problem occurs when you add an additional "offset" block to the mix.

    For Example:

    If the Live Tab Alpha is Greater Than 99, -251 Offset the X Position of the "Context-Text" Layer.

    If the Live Tab Alpha is Smaller Than 1, -291 Offset the X Position of the "Context-Text" Layer.



    Ideally, when a super has a live bug then the alpha is at %100, and position of the Context-Text moves to the right to accommodate the live tab.

    The problem is whichever offset number was last input into the block is the only offset that affects the layer.

    So if you were to change the -251 to a different value, the new value would go into affect immediately.

    I tried replacing the alpha with the visible property. Using a >.5 or .5< to trigger the visible layer, still has no impact on the offset.

    Its a little puzzling that only one offset per layer property(X,Y,Z cords) is allowed in a script...

    Is there something I am missing or is this a normal visual logic thing?

    I figured out a work around using the "Text" and "Visible" layer properties, but figured id ask.

    Thanks!


  • 2.  RE: Xpression "“ Visual Logic Offsets

    Posted 09-03-2014 13:18
    Hi Kevin,

    Could you try reposting the image? It just appears as a broken link, and I without seeing the visual logic it's hard to completely understand the issue you are having. I think you can upload the image to imgur.com for a free image hosting site.

    #XPression


  • 3.  RE: Xpression "“ Visual Logic Offsets

    Posted 09-03-2014 13:22
    Brian -

    I reposted the picture, let me know if you can see it now.



    #XPression


  • 4.  RE: Xpression "“ Visual Logic Offsets

    Posted 09-03-2014 13:23
    Thanks a bunch!

    #XPression


  • 5.  RE: Xpression "“ Visual Logic Offsets

    Posted 09-03-2014 13:50
    Hi Kevin,

    The trick you need to realize about visual logic is that both branches of your script are executing all the time. So the context-text position is trying to be set by two different blocks (last one will win). The greater-than/less than blocks will always output a value (either 0 or 1 depending on if the condition is true or false)..

    Here is an example of how to structure what you are trying to do instead (hope the image shows up)



    (if no picture, try this link: http://imgur.com/DOq6HDs )

    The selector block will take the 0 or 1 (true/false) output from the Greater Than block and selectively either output the first or the second value block to the output..

    Hope this is clear.

    Brian

    #XPression


  • 6.  RE: Xpression "“ Visual Logic Offsets

    Posted 09-03-2014 13:53
    Wow,

    Brian thanks a bunch for the help. That explanation made the world of difference.

    FYI, your picture also didn't show up, but I was able to click the link.... odd...

    ~Kevin T.

    #XPression