Forum Discussion
Using Layers in Quiz Questions
Hi Vito,
Though there are different ways to achieve what you want. The fast way to add on from what you already have in Pick One is to:
On option objects layer
1. Add selected states to the three options, so the objects can be selected.
On base layer
1. Add two invisible objects and set one for correct, the other one for incorrect from the Form view.
2. Add trigger to change the invisible correct object to be selected when sumitting if the real correct one (Lock) in the layer is selected.
3. Add trigger to change the invisible incorrect object to be selected when sumitting if the real correct one (Lock) in the layer isn't selected.
Hi Joanne,
Thank you for the help. I tried a version of what you suggested and it worked for the most part.
I added invisible objects for each selection type and set the Lock object as correct. I added triggers and added a True/False variable for each selection so each layer could communicate with the base layer.
My only problem now is if I have both the correct and incorrect response selected, it still marks the answer as correct. For example, if Lock is selected AND Switch User is selected, it will mark as correct.
- JoanneChen3 years agoSuper Hero
Hi Vito, if it is a multiple choice, you can use "Button Set 1" function to make the selected objects only be chose one at a time. Please refer to the image below to learn the setting, users will only be allowed to select only one option then.
- VitoDiSerafino3 years agoCommunity Member
Hi Joanne,
My invisible buttons are already set to "Button Set 1" Could it be due to the object layers' interaction with the base layer?
Currently it is allowing me to select multiple objects on the object layers. I am attaching the Storyline file for further review.
- JoanneChen3 years agoSuper Hero
Hi Vito,
Since the invisible buttons are invisible, they are not selectable by users. What you need to set as button set 1 is the objects that can be selected by users not invisible buttons.And you are making the settings too complex. You may easily get lost then.
1.You don't need variables here. It will only make it more complex.
2.You only need two invisible buttons: Correct, and Incorrect ones. What you need is to judge which one to be selected when submitting. So two triggers for that:Please take a look at 1.3 which I duplicate from 1.2.
BTW, instead of two triggers, you can group objects and set only one trigger to show/hide layer when clicking it. Keep the settings as simple as possible.