Detecting Variable Increase or Decrease

Aug 14, 2015

Hi All, 

I wonder if someone can help? I am wanting to get a true or false on whether a variable has increased or decreased, for instance a thumb's up shows if a score increases but changes state to a thumb's down if it decreases. 

Does anyone have any idea how to do this in Storyline?

 

Many thanks

 

Dave

 

13 Replies
Elizabeth Sarney

Hi,

You should be able to do this by creating a number variable ( you could call it score or whatever you like). Then create a trigger set to Action: Adjust variable that changes your true/false  variable to true on the condition that your new number variable (score) is greater or less than whatever number you want.

David Lee

Hi All,

I am afraid I can't upload the actual course as there are security issues with that, but here is an example of what I want.

Clicking the yes button increases the score by 10, when it reaches 20 you get to the next "level" or achievement award, I want this acknowledged by a thumbs up, so when the score gets to 20 it is changes the state of the thumbs up from hidden to normal (up). However from then though if the score then increases to 40 the next level is achieved etc etc, but if the score goes back down to 20 (or any other level change threshold) I want the level to go back down and the thumbs up to change to thumbs down. I can do all of this but not get the thumbs down to go back down. 

David Lee

ok.. so not quite, I think walt's one works on the fact that the triggers are in a certain order, I am using a thumbs up and down on a different (always active) layer as it is animated in the time line and uses that timing as a way of fading out. is there anyway to achieve this making the change across layers?

Thanks!

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