Graphics

 View Only
  • 1.  XPression- triggering Play Action through Visual Logic

    Posted 11-26-2019 21:12

    Im having trouble understanding how to trigger a play action using visual logic. I thought I could just use a Boolean to trigger the scene director, but it doesn't seem to work. Can anyone give me a push in the right direction.

    Basic logic-

    If the display score (homeScore2) does not equal the datalinq'ed score (Home Score), play homeScoreAnim. This is the part that isn't working. 

    The second part is working when I manual play the homeScoreAnim SceneDirector, which is-

    update homeScore2.text to equal homeScore.text at frame 65 (when the alpha animation covers the score completely).

    Here's my VL block-

    Thanks for looking,

    Chris



  • 2.  RE: XPression- triggering Play Action through Visual Logic

    Posted 11-27-2019 11:31

    Good question!
    I don't know if this a good example, but as a workaround you can introduce 2 Event Marker and make condition to make them visible or not.
    Those events can trigger your scenes to play and stop.

    You have in link also an example - compare 2 numbers and witch one is bigger the font is bigger and from Scene Director one sphere appear under the number.

    Link: https://www.dropbox.com/s/831u26gusn636zr/COMPARE%20NUMBERS%20AND%20CHANGE%20FONT%20%2B%20PLAY%20SCENE%20-%2020191127.xpf?dl=0 

    Have FUN!


    #XPression


  • 3.  RE: XPression- triggering Play Action through Visual Logic

    Posted 12-03-2019 17:12

    Are you using this to animate the score change? If so, I have a quickie script that I have been using. 


    #XPression


  • 4.  RE: XPression- triggering Play Action through Visual Logic

    Posted 12-04-2019 19:26

    Unfortunately , I don’t have a scripting license on this system. I was finally able to get it to work by getting rid of my pause event in the scene director and putting the rest of the animation into a second scene director.


    #XPression


  • 5.  RE: XPression- triggering Play Action through Visual Logic

    Posted 12-04-2019 19:31

    Where's the fun in that? I had no idea that was an add on. Way to do the workaround.

     


    #XPression