Forum Discussion
Variables and triggers seemingly not working properly
Hi, Martin.
Thank you for sharing your .story file!
I noticed you had a question bank, and on each of the correct layers, you added points to the variable clicksallowed, as you described. However, the trigger to add points to the variable should be the first on the list, as the order of triggers is very important.
I am not sure where those questions will be asked in your project, as there was no draw from the question bank (question slides were not created), but on slide 1.2, you have a trigger to set the clicksallowed to 0. If the questions are asked before slide 1.2, then the clicksallowed gained will not be shown.
I hope this helps!
- MartinMaynard-15 years agoCommunity Member
Thank you, Maria. I have gotten the issue fixed, but in a different way. On the question bank slides, I had the trigger set to add points to the %clicksallowed% when the user clicked the continue button on the success screen. I changed it to add the points when the timeline on the layer started, instead of based on a user action, which now allows the points to actually add in to the variable. This also jumped the add function to the top of the trigger panel, so I inadvertently did as you recommended, just for went in the backway to do it!!
It all works now and the project is complete.
- NancyWoinoski5 years agoSuper Hero
Great! I am glade you figured it out.
Related Content
- 12 months ago
- 9 months ago
- 12 months ago
- 12 months ago