Trigger issue: show layer
Mar 12, 2015
Hello I was trying to solve this issue for a day and couldn't figure it out yet.
If there is anybody who can help me, then it will be much appreciated.
It doesn't have any special triggers or scripts. It is a just “show layer” trigger.
1. Fail 3 times, then popup will ask you if you want to continue to the next question or not.
2. Select “yes”
3. Try to plug in USB stick to any place and click “Submit”
At this point, it should show other layer in the same slide, but it doesn’t show anything.
If you pass the first question, then the second question works fine.
The story file is attached. And also you can see published quiz with this link: http://goo.gl/6NZVrH
Thank you,
Soogyung Gwon
10 Replies
Hi Soogyung,
I also couldn't get the second question to submit if I answered correctly on the first pass? I see that you've created a lot of layers and triggers to have some more customized feedback - but even removing those and utilizing the built in feedback layer for the second question doesn't allow it to work correctly. Can you confirm you're working on local project files as described here?
Hello Ashley!
Yes, we are working on local project files.
It works partially after deleting "Hide layers" triggers and uncheck "Hide other layers" of feedback layers in the 2nd question. But still other issues are happening now.
Some feedback pops up but some of them don't...
Thanks,
Soogyung Gwon
Hi Soogyung -
It looks like the "Fail the Quiz Trigger" rectangle (rectangle 4) on your 2nd slide is the culprit. If you hide that rectangle, then everything works fine. When you show the rectangle, the slide stops working properly
I think that Storyline does not like to have a "when variable changes" trigger in an object like a rectangle. If you try to create that type of trigger for a rectangle, Storyline will not let you do it and will instead move the trigger to be a slide trigger.
The only way to get such a trigger on a rectangle is to have a rectangle that already has a trigger of some sort, then copy the "when variable changes" trigger from the slide and paste it to the rectangle. I think that may be what you did when you were creating your slide? Maybe you originally had the trigger on the slide, but then copied and pasted it to the "Fail the Quiz Trigger" rectangle?
But then funky things happen, like your Submit Interaction does not happen. You are sort of tricking Storyline into doing something it doesn't like.
So... a solution to your issue is to simply delete the "Fail the Quiz Trigger" rectangle (rectangle 4) and put your "when variable changes" trigger on the slide.
Hope this helps.
Chris
Thanks Chris for finding that and narrowing it down. I generally steer clear of the "when variable changes" trigger for a number of the reasons you mentioned - so I hope that this set up works for you now Soogyung.
Glad to help. :) And I agree Ashley - I think as a general rule it is best to stay away from "When Variable Changes" triggers. There is usually a better/safer method to use.
Hello Chris and Ashley,
Thanks for all your help.
I didn't know that storyline doesn't like "when variable changes" tirgger for the rectangle.
I was using it becuase I needed to add the same tirgger for many slides, but it seems this trick made things complicated. ;-)
What I did for fixing my file is two.
1. deleteing "Hide this layer" triggers in the first slide. -> It fixed feedbacks
2. Remove "Fail the quiz" trigger from the rectangle and re-added to the slide itself. -> It fixed the "Fail the quiz" trigger.
Now my quiz is working very well!!
I attached the fixed file.
Thanks,
Soogyung Gwon
Hi Soogyung -
I didn't know it either until I started investigating your issue. I'm always learning something new. :-)
Glad you were able to get it working.
Chris
I don't think it's that Storyline discriminates against the "when variable changes" trigger - but that it just doesn't always work as we would think it should. :-)
Hi Ashley -
I'm sure it was by design that you can't add a "when variable changes" trigger to any object - not a rectangle, caption, text box, even a button. You can only add such a trigger to the slide itself. But not sure why it was designed that way... :-)
I couldn't answer that one either, as I'm not a part of the development team, but I'm sure there was a reason. :-)
This discussion is closed. You can start a new discussion or contact Articulate Support.