Show the variable with the highest value?

I have many different numeric variables in my course, and in one slide I want only the variable with the highest value to be shown. Is this possible?

My first idea was to add a trigger to each variable saying "At the beginning of the timeline, show variable if the value is higher than that of all other variables" but it turns out that storyline only offers an if-function with "equal to" or "not equal to" conditions, not "higher than".

Does anyone have an idea to work around this? 

By the way, I don't know javascript so if your solution includes that, please be very specific. Thanks!

2 Replies
Eric Isaksson

Beautiful!

Thank you!

I may be asking for too much now but:

Let's say that I, in your example, instead would want the highest value to be highlighted in a different color. That is, not show the highest value at a new place on the screen, but instead just highlight the old one. Is that possible?

Big thanks anyway!