Changer l'état d'un objet en fonction de la valeur d'une variable

Jul 27, 2018

Bonjour,

Je souhaite faire une analyse de quiz un peu poussée : chaque réponse correspond à une catégorie. Le nombre de points obtenues dans chaque catégorie se matérialise sous forme graphique (donc 4 barres dans l'histogramme).

Est-il possible de le faire dans Articulate 360 ?

12 Replies
Véronique Baudier

I've tried your method. So I did :

- When the user click on the radio button, add 1 to the variable Category1 (like this, for every question and every button)

- Then, for example : change de state of the object in state 1 if the variable Category1 is modify (condition : if the category1 value = 1)

But it doesn't work at all. Even when I add a text with the reference of the variable, it doesn't change the number of the variable. 

What should I do ?

Thanks so much for your help !

Leslie McKerchie

Hello Véronique,

Thanks for sharing your file so that we could take a look at what you are experiencing.

Is this an excerpt of a course? I'm seeing most of the items listed as unassigned.

Your triggers were also set to 'Set Style1 equal to 1.00' when the user clicks x. So this value would always be 1 if the user ever clicked a value for Style 1. 

Sounds like you'd rather use Add 1. I modified your first slide:

Try this with the subsequent slides to match the legend you shared and see if that helps you out :)

Véronique Baudier

Hello,

I did exactly what you said, I add a trigger to every Radio button (Add 1 to the variable Style 1 for example) for every question but it doesn't change the final value of the variable in my last slide... 

It is not a part of a course, just a questionnary.

Thanks for your help and have a great day !

Leslie McKerchie

Looks great! Way to go Véronique!

I think what may have tripped you up was the results slide was adjusting your rectangle based on when the 'Style 1' variable changed.

Setting this to adjust when the timeline starts with a condition of the actual value works much better.

So, I added the other triggers to test and everything looks good.

Take a look at your updated file :)

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