Forum Discussion
Using Layers in Quiz Questions
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.
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.- VitoDiSerafino3 years agoCommunity Member
Hi Joanne,
Thank you so much for your help. It is working much better now!
Also, I started adding the images for each button on their states rather than as different objects. That way I do not need to group objects and it feels cleaner when editing.