Help with conditional triggers
Jun 15, 2015
I'm trying to set up a conditional trigger and did a test in SL2 before I built the game and it worked in the test but won't in the game or here. I am developing this game with the capability of multiple players so I couldn't really use the built-in quizzing options because I couldn't see how to assign the score to different teams. I have no programming experience so I'm just trying to work through the logic logically, if that makes sense. It's probably something simple but I'm stumped. I can use any help I can get. By the way, the correct answer is on the incorrect layer.
11 Replies
Dorothy,
It looked like the conditions on the triggers that increment the variables were unassigned. I assigned them.
See if this helps. I hope it does.
I previewed your file and I'm still getting the incorrect feedback layer when the answer is correct. Thanks for your attempt. It looks to me like it should work but isn't.
Dorothy,
So I changed a lot around to help me understand the wording, and found that because you defined what an incorrect answer is with the three different terms and a logical "Or", even if you type the correct answer, there are two other answers that would trigger an incorrect response. I erased the incorrect defintion. Then created a trigger that said that if the value of Correct was false, show the incorrect layer, if it was true, display the correct layer.
See if this helps out.
I'll check this out. It sounds promising. Thanks a million!
It works on my end... Hope it does on yours.
It works! I was hoping to use a state instead of a variable for correct so I didn't end up with 30+ correct variables in the project. It may still work if I just eliminate the set of conditions for incorrect... maybe. :) I'll experiment but you've given me hope. Thanks!
Glad I could be helpful.
Glad that Terry has been able to assist you here Dorothy, just let us know if you need anything further.
It all worked even when I changed the correct true/false variable to the change of state. Thanks!
Glad to hear it. Thanks for the update :)
Awesome! I thought that it might, but didnt want to give false hope if it didnt work.
Happy to help!
This discussion is closed. You can start a new discussion or contact Articulate Support.