Forum Discussion

MichaelHebert's avatar
MichaelHebert
Community Member
3 years ago

Having an issue with button states, triggers, etc.

Hello,

Having an issue where I have two markers that have a normal and visited state as well as a hidden button that should appear when the state of all markers = visited. I can get it to work on the test.story file attached but not on my project for some reason (scene 3 slide 3.2 layer titled Detect Receiver Cards 2)

Any help/advice would be greatly appreciated.

Thanks

  • Hi Michael, 

    Thanks for reaching out! 

    I tweaked the orders of your triggers and added some custom states to your markers and it is now working as expected. Please see the attached file. Unfortunately, I couldn't identify a specific cause as to why your original configuration didn't work, but I'd like to offer some recommendations moving forward: 

    • Take a note of the order of your triggers. You can try positioning the 'Change state triggers' to be at the top of the order if your slide navigation heavily depends on states. 
    • Use custom states instead of the built-in 'Visited' state for tracking progress

    Hope this helps!

  • The biggest problem with built-in states is that they have built-in triggers. People that try to write their own triggers to perform those built-in actions almost always have problems.

  • MichaelHebert's avatar
    MichaelHebert
    Community Member

    Joe,

    Thanks for the quick help, out of curiosity, and it seems like I have heard this before to not use the built in states, is there a reason not to? I am only asking as I have used some built in states in other places on this course and they appear to work fine, should I create custom states for them instead?.

    Thanks, again