Forum Discussion
DanielAlbarran
5 months agoCommunity Member
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 ...
JudyNollet
5 months agoSuper Hero
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.
Related Content
- 9 months ago
- 7 months ago
- 3 months ago