Help me with this variable

Aug 18, 2014

Hello everyone,

In a previous thread I received some excellent help on obtaining specific feedback from a couple of different result slides. Thank you!

I'm hoping to take it one step further,

I've got 4 separate results slides showing results from 4 different "categories" of questions.

I'm hoping to set up a variable that would take note of the scores of those four separate slides and run a check such that,

IF

results = less than 70% a layer would appear that points students towards a different section of the course that is set up for extra help and encouragement.

IF

results = 70% or higher it displays the congratulations layer that lets them exit the course.

There may be something already built in that can help with this but I'm trying to figure out how to make it all appear on the same results slide if possible.

Thanks!

1 Reply
Alexandros Anoyatis

Hi Darren,

this can be done in many different ways really (I assume that by results = 70 you mean for each seperate result slide, not the average value).

Off the top of my head, you can create the following triggers,

  • Create a t/f variable (say check) with an initial value of false
  • Create a trigger similar to : adjust value of check to True when timeline starts on condition that Results.Scorepercent_1 greater or equal to 70 AND Results.Scorepercent_2 greater or equal to 70 AND Results.Scorepercent_3 greater or equal to 70 AND Results.Scorepercent_4 greater or equal to 70.
  • Create a trigger to jump to Layer X when timeline starts if check==true
  • Create a trigger to jump to Layer Y (congrats) when timeline starts if check==false

You don't necessarily need the t/f variable, it's just for clarity. If you don't want to use it, then you can go the following route :

  • Create a trigger similar to : jump to Layer X when timeline starts on condition that Results.Scorepercent_1 greater or equal to 70 AND Results.Scorepercent_2 greater or equal to 70 AND Results.Scorepercent_3 greater or equal to 70 AND Results.Scorepercent_4 greater or equal to 70.
  • Create a 2nd trigger similar to : jump to Layer Y (congrats) when timeline starts (should not execute if the 1st trigger checks out.

Minor adjustments may need to be made (again, this is off the top of my head) but it should work fine in the end.

Hope this helps,
Alex

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