How do I build this quiz question ...

Nov 10, 2017

Hi all,

I am stuck with a probably simple quiz question and I attache the current situation slide to my question. 

The slide shows a red (7 boxes) and a green column (7 boxes) and 14 answers from which the correct 7 answers have to be draged and dropped onto the red and the other 7 onto the green boxes. 

How do I make sure that 7 answers can go into any of the 7 boxes and this for red and for green? 

I hope, to be clear about what I mean and thank you in advance for your help.
Roland

7 Replies
Wendy Farmer

Hi Roland

take a look at your file.  I changed it to a Pick One with two offstage buttons Correct/Incorrect that are used to control the interaction.

I created a drop correct and drop incorrect state for 3 of the drag items (I coloured the border so I could use them for testing) as I wasn't sure which column the drag items belonged to.  I named them in the timeline - drag green or drag red to make it easier to work with.

i wasn't sure if you were using the built in submit button so I added a 'check answer' button when the user had finished doing all the drags.

Hope this helps and here is a quick peek video of how it works.

Roland Straub

Hi Wendy

I'm currently both, deeply amazed about your SL skills - it's not the first time you help me out - and as much frustrated about mine. I guess I dig what you are telling and showing me but when I try to build it myself I get confused and stuck. First time I hear of "offstage buttons". Are they used frequently? I couldn't find a hint in the community. And when I want to start from sratch a new pick-one question, I can't relate to your example. 

Would it be cheeky, if I add the slide again, along with the drag objects. The boxes for green drop targets on the left, boxes for the red ones on the right? I'm sure after seeing it once from scratch, I'll be able to reproduce it myself. 

Pls take all the time it takes and I also understand if you don't have time to solve my problem. I can still go an easier but more boring way :-)

Have a greate weekend and best regards
Roland

Wendy Farmer

Hi Roland,

in my example of a pick one you can only have one answer so I include the offstage buttons Correct and Incorrect so I can add something into the form view as the answer.

Also, I named all your objects in the timeline so it's easier to create the triggers and also to troubleshoot if something goes wrong. Here are the steps and the file is attached.

1.     Create two buttons with a normal and selected state - one called Correct, the other called Incorrect and put off to the side of your slide (I left them on stage so you could see them changing state to selected for testing only).

2.     Add the two buttons to the form view and select the 'correct' button as the correct response.

3.     For all the drag items create a drop correct and drop incorrect state - these states will be used in the triggers to allow any of the 7 green drag items to be dragged onto any of the 7 green drop targets and marked 'correct' alternatively if they are dropped onto any of the 7 red drop targets they are marked 'incorrect'.  The same logic applies to the 7 red drag items.

4.     Set a trigger for each drag item to change the state from normal to drop correct when dropped on one of the 7 correct drop targets. Create the trigger for the first green drag item and then copy paste for the other six (remembering to change the object in the trigger) - do the same for the first red drag item and then copy paste again.

5.     Set a trigger for each drag item to change the state from normal to drop incorrect when dropped on one of the 7 incorrect drop targets. Create the trigger for the first green drag item and then copy paste for the other six (remembering to change the object in the trigger) - do the same for the first red drag item and then copy paste again.

6.     Create a trigger to change the state of the correct button (sitting offstage) to selected when the user clicks the 'submit' button (this can be the player submit button or like in my example I added a 'check answer' button - you can use either) on condition that all 14 drag items are in a state of 'drop correct'.  This will validate if the 7 green drag items are located in any of the 7 green drop targets and if the 7 red drag items are located in any of the 7 red drop targets.  If they are, the correct button will change to 'selected' state and be the correct answer for the question.  

7.     Create a trigger to change the state of the incorrect button (sitting offstage) to selected when the user clicks submit on condition that the 'correct' button is not in a selected state. I find this easier that adding in all the opposite triggers as it does the same thing.

8.     Create a trigger to submit the interaction when user clicks submit...this will check if the correct or incorrect button are in the selected state.

Hope that helps

 

Michael Bauer

Hi Roland

I wanted to create a drag-and-drop about placing witches hats/cones around an aircraft once it is parked at the airport terminal, and it didn't matter which cone went where, as long as one of the cones ended up in each drop spot.

I didn't think it was possible ... but it was :)

This is the example that made it all click for me: https://www.youtube.com/watch?v=07aWCa6T5pc

Roland Straub

Hi Wendy

Smashing! I truly got it now :-)! Thanks to your step by step explanation and example I just managed to set up a similar interaction for another topic. 

That is simply awesome. Even though I use SL for half a year already I just start to learn what the states are really about and the greate things I can do with that. And you know the best, Wendy? In my company elearning circle I start to become a real SL geek. I have colleagues there who simply upload a PP presentation and call that an elearning, while I try to figure out how to get interaction into it. 

The hours I spend in the community really start to pay off. Thank you Wendy and thanks to all the community members that have helped me so far and will sure help me in the future. I truly wish, I could make it up to you guys, but seem to still be quite a bit away from being able to give support myself ;-).

I'm working on it and wish you a good week
Roland

Wendy Farmer

Excellent news Roland - glad to hear you've got it working.  There are many ways to achieve things in Storyline - just remember to not be limited in your design thinking because you're still learning the software - normally someone in the forum has a workaround to achieve the most amazing things.

You are doing great in how you are setting up your interactions so I can see why you are your company SL geek :-) and I have no doubt you will soon be helping people on the forum with their questions.

All the best and you have a good week also.

This discussion is closed. You can start a new discussion or contact Articulate Support.