Forum Discussion

ChrisMetcalfe's avatar
ChrisMetcalfe
Community Member
2 years ago

Setting variables based on object state: broken?

Is it possible to modify a variable based on an object's state?  The Trigger Wizard allows me to build this sort of trigger, but when the referenced objects change from hidden to normal the variable remains unchanged.

I encountered this issue when trying to us the visibility of an interactive object to pause the timeline so that items sequenced for later in the slide don't appear before the user has completed their input.

Here's an example of the trigger that doesn't work:

 Are state based triggers broken?  Should I change my logic to look at object timelines?

I've attached a .story illustrating what I'm trying to accomplish.

  • Hello Chris, 

    Thanks for reaching out!

    You setup the trigger in the screenshot correctly. I noticed that when you disable all the text boxes in the slide, your trigger works as expected, which means we'll need to take a closer look at why the text boxes are preventing the variables from changing. 

    I opened a support case on your behalf so we can have our support engineers take a closer look at the issue. Someone one be in touch shortly!

     

  • ChrisMetcalfe's avatar
    ChrisMetcalfe
    Community Member

    I found a workaround by hooking my timeline pause trigger to the object's timelines instead of their states.

    That got my project complete and on to the next stage, but hopefully your engineers can identify why those particular triggers aren't working as intended.