Example
Akki1111
3 months agoCommunity Member
Customer Service Email Mastery Training
Hi. I'm new to Articulate 360 and a complete newbie when it comes to building eLearning, or instructional design in general. This is my first Challenge as well as my first storyline creation, and i...
LauraHansen-065
3 months agoCommunity Member
I think this is great! How did you get storyline to review the user generated response and mark what categories it checked off?
- Akki11113 months agoCommunity Member
I consulted Ai to come up with a JavaScript code that triggers certain variables to be true or get automatic scoring when user response includes specific words or phrases. Something like the below lines for reference.
if (userResponse.includes("sorry") || userResponse.includes("apolog")) {
score += 1;
player.SetVar("ShowedEmpathy", true);
}if (userResponse.includes("compensat") || userResponse.includes("refund") || userResponse.includes("discount")) {
score += 1;
player.SetVar("OfferedCompensation", true);
}