Forum Discussion

CasimereStreet's avatar
CasimereStreet
Community Member
4 days ago

Help Needed with Partial Drop/Drag Scoring

Hi Community!

 

I have been working on a drag and drop interaction in Storyline 360 and need help getting partial credit scoring to work. Here is my setup:

 

The Interaction:

- One slide with a drag and drop interaction

- 22 drag items total — 5 go into the Red Bag and 17 do not

- Items reveal one at a time using the Reveal drag items one at a time setting

- Two drop targets: Text Box 1 (Goes in Red Bag) and Text Box 2 (Does Not Go in Red Bag)

- A Submit for Results button that jumps to the results slide

 

What I Built:

- A custom variable called CorrectAnswers (Number, default value 0)

- 22 triggers — one on each drag item — that Add 1 to CorrectAnswers when the item is dropped on the correct target

- A Graded Results slide with the pass/fail triggers modified to use CorrectAnswers instead of Quiz1.ScorePoints

- Success trigger: Show layer Success when timeline starts if CorrectAnswers is greater than or equal to 22

- Failure trigger: Show layer Failure when timeline starts if CorrectAnswers is less than 22

- The CorrectAnswers variable is displayed in the Your Score oval on both the Success and Failure layers

 

The Problem:

- The CorrectAnswers variable always shows 0 on the results slide even when all items are dropped correctly

- The Failure layer always shows regardless of the score

- I have confirmed all 22 triggers say Add not Set

 

What I Think Is Happening:

- The CorrectAnswers variable may be resetting to 0 when the results slide loads

- Or the triggers may not be firing correctly when items are dropped

 

Can anyone help me figure out why the variable is not carrying over to the results slide and how to get the pass/fail layers to trigger correctly based on the CorrectAnswers variable?

 

Thank you so much in advance!

1 Reply

  • Your subject line refers to "partial scoring," but nothing in your description mentions anything besides correct/success and incorrect/failure. If it's either pass or fail, it'd be easiest to just use Storyline's built-in functionality for scoring. Just have the standard "Submit [interaction]" trigger run when the user clicks your custom Submit button. 

    If you do want different scores based on the number of correct items, you still need to use some of Storyline's built-in functionality to have the score passed to the LMS. To do that, you can have the drag-and-drop answers trigger the answers to a hidden multiple-choice question. (Multiple-choice questions let you assign point values to each response.)

    This project explains what I mean. It's about partial credit for a multiple-response question, but the principles are the same. 

     

    For troubleshooting your "CorrectAnswers" variable, I suggest you add temporary text boxes to the slides that reference the variable's value. That will let you see whether the variable changes as expected, which will help narrow down what's going wrong.

    • A variable only changes when a trigger changes it. It won't change just from going to another slide.
    • Triggers run in order. If there is a "jump to slide/scene" trigger, other triggers need to come before that trigger. (A trigger can't run if the program has already left the slide the trigger is on).

     

    Beyond that, it's impossible to troubleshoot without seeing the programming. Someone might be able to solve the issue if you upload the .story file. Here are the best practices for doing that:

    • Only include slides that are related to the problem.
    • Be sure objects, layers, motion paths, and variables have meaningful names.
    • If there is proprietary content, replace or delete it. For example, replace proprietary text with “ipsum lorem” text.

     

    For future reference, this Exchange Best Practices section is for general questions about eLearning. You’re asking how to do something in the software. That type of question is a better fit in the Discuss Articulate Products section of the website. That's where those of us who regularly answer questions about how to use the software spend more of our time. And that's where more folks go to search for answers specifically related to Storyline, Rise, and other parts of Articulate 360.