Triggers and Variables
May 24, 2012
Here is the issue I'm having:
Let's say I have 3 scenes:
1. Main Menu
2. Quiz 1
3. Quiz 2
- On the main menu I have 2 buttons: First one goes to Quiz 1(enabled), second one goes to Quiz 2(disabled at start)
What I'm trying to do is that once the user has successfully completed Quiz 1, the Quiz 2 button will be enabled in the Main Menu scene.
I've noticed that you can't explicitly change states of buttons in different scenes, so I've used triggers with various variables.
However I've had no luck.
- Tried having the variable change on clicking "Return to Main Menu"
- Tried having the variable change on the start of the timeline of the "Success Page"
Is there a debugging mode to see if variables change? Or is there a way you can suggest to do this?
Thanks!
3 Replies
Hi Jason,
Having your variable change on clicking the Return to main menu should work without any problem.
You have to do it in two steps :
1- on the last slide of your quiz, in the trigger panel - "Adjust Variable / name of variable/ true(for example) / when User clicks / Return to Main Menu
2- on the Main menu slide - "(Probably) Change state of / Button to quiz 2 / When Timeline starts / THEN click the green + sign to add a condition If / Name of variable / Equal to /True
Hope it helps. don't hesitate if you need further information I, or someone else, will surely be happy to help you with that.
Have a nice day!
Annie's solution is a good one. The other thing you can do is use the inbuilt quiz variables
Set a slide level trigger on the main menu slide change state of Quiz 2 to normal (initially disabled) if Quiz 1 Result.ScorePercent is equal to or greater than Quiz1 result.passPercent
Thanks guys! I wasn't using "When Timeline Starts".
This discussion is closed. You can start a new discussion or contact Articulate Support.