If ... else
May 12, 2013
I don't know how to search the forum for this one so I post it instead.
I have a text entry box. If the user write the words CAR, PLANE och BOAT a hidden layer will appear saying GREAT.
In all other cases I would like another hidden layer to me shown saying: NO NOT THE CORRECT ANSWER.
The above is just an simple example. There are lots of mor words and different layers debending on what you type in. I don't want to use a free form quiz.
I thought there might be possible to use an ELSE command. Show layer x if variable y= CAR, BOAT or PLANE ELSE show layer z.
Any ideas?
Br
gustaf
6 Replies
JUst add three triggers the ELSE in storyline is always another trigger
But in the trigger wizard I can only choose and/or. Where do I find the ELSE expression?
There is no specified else it is based on trigger order
e.g.
Trigger 1 Show layer if Var == to *** OR *** OR ****
Show layer if VAR NOT equal to **** OR *** OR *** (simply duplicate the trigger
If it was a JUmp to Slide trigger your second trigger would not need conditions. Because it is showing ayers then you need the additional conditions.
Ok I tried that but it did not work. Then I changed the order of the triggers an put the else trigger at the top. Bingo. Now it works.
br
gustaf
Hi Tracey, I have not tested this yet so not sure if it will work or not but maybe you could create two hyperlinks and then hide/show the correct one based on the variable.
Hi Tracey! Looks like Nancy is taking care of you here, so just let us know if you need anything further.
This discussion is closed. You can start a new discussion or contact Articulate Support.