Forum Discussion

DanielAlbarran's avatar
DanielAlbarran
Community Member
27 days ago

A slide ignores conditional trigger

Hi, in a 5 slide activity, slide 2 ignores some triggers that should change the state of an object, dependig if an "error-count" variable is 0, 1 or 2.

Other slides seem to work well, but not this one. Any suggestion? Help please. 

4 Replies

  • ShamsShimul's avatar
    ShamsShimul
    Community Member

    Check the value of the variable by putting it in a text box on the slide, and notice if it changes to the desired value (0/1/2) that should have triggered that trigger. Other than that, it's hard to tell why that's happening without looking into the file.

  • DanielAlbarran​ : Showing the variable's value on the slide (as ShamsShimul​ suggested) is quite helpful for troubleshooting issues with variables. That lets you see if the variable is changing as expected. And, yes, it is hard to troubleshoot without seeing the file.

    Here's one guess based on other files I have seen: 

    • The trigger is set to run when the timeline starts, but the variable hasn't changed at that point.
    • The trigger is set to run when the variable changes, but the variable change occurs on another slide. (A given slide can't "see" a variable change on another slide. It can only "see" the variable's current value when the user arrives at that slide.)

     

    Another common problem: using the same number variable on multiple slides without resetting it to its default value. 

    If you still can't figure out what's happening, then upload an edited version of the .story file: 

    • Only include the slide with the problem.
    • Be sure objects, layers, motion paths, and variables have meaningful names.
    • If there is proprietary content, replace or delete it. For example, replace proprietary text with “ipsum lorem” text.

     

  • Thanks. I tried showing the variable value. I don´t wknow what happens, but I deleted the object and inserted it again with a new name, and adjusted the triggers accordingly, and now it works. It´s a mistery.

    This kind of erratic behavior happens in preview, in Review or in the scorm output; sometimes in one or two of these while the other(s) work ok. Sometimes it happens in all three. It also happens with audio: sometimes it sounds incomplete, sometimes it doesn´t sound at all. I´ll do a ticket reporting these issues. Thanks. 

    • LucianaPiazza's avatar
      LucianaPiazza
      Staff

      Hello DanielAlbarran

      Great call opening a support case! I see that you're working with my colleague Nikko. You're in excellent hands! 

      We'll continue the conversation over in your case. 

      Have a great afternoon!