Forum Discussion
Multiple AND and OR conditions in the same trigger
I've run into a scenario when I am implementing a "show layer X" trigger 5 times (with different conditions), when I really should be just using one trigger (with all conditions combined). How does storyline evaluate a trigger with conditions that include both AND and OR statements?
For example :
29 Replies
- AlexOByrneCommunity Member
Good to see you got your answer, this community does rock! I get so much out of it!
- RajuMNCommunity Member
Dear Jeff,
thank you so much ,
you people make me easy and cheers to support what we get from the people.
thanks to all
regards
raju
- JeffSaleCommunity Member
Raju, Do an If statement (create a trigger) if the score is greater than 60 (or whatever score) go to a certain slide.
And then make another one.
Your triggers will look like this:
I added these triggers to an object, but you could have them set as slide triggers which *fire* when the timeline starts on a certain slide.
Hope this help. ~Boat - RajuMNCommunity Member
Dear Alex,
Thank you so much for help,appreciation for quick response.
can also please give idea about how navigate depend upon quiz score
thanks in advance
Raju
- AlexOByrneCommunity Member
Hi Raju, depends on whether your looking to take them to a slide based on then final answer to the question i.e. the last question they get it wrong so they go to the wrong slide or they get it right so they go to the right slide - if that is the case all you need to do is alter the feedback layers continue button to go to the feedback slide (they are set to jump to next as a default).
If you want to move them depending on overall score then you would want to create a number variable and count the score then final slide would have a trigger to direct depending on the score (i.e. if the score counts 5 go to correct/well done feedback if >5 then wrong/you fail slide).
Example of both attached.
- RajuMNCommunity Member
Hi all,
can any one please help me
how to take the user to different slides based on the quiz result with using one trigger ?
- JustinStaff
Hi, all.
For future Heroes that stumble across this thread, the following Screenr may be useful:
- PeterHermanCommunity Member
I can't seem to apply an AND trigger to "Jump to the next slide". I want to jump to the next slide when both the timeline has ended AND the user has clicked Next. Is this possible?
- MikeWohlwendCommunity Member
After trying to make sense of how and's and or's interact when combined into a single trigger, I have gone with Geert's indicated method. It seems that you simply have to break up more complicated functions, which does inflate the number of triggers and the time to create it--but which works!
So Alexandros, in testing my situation over, it seems that the ands and ors combine to break the functionality of the whole thing.
More specifically, I think I saw all elements begin behaving as if they were "or" conditions, regardless of their ordering, etc
Related Content
- 1 month ago
- 1 year ago
- 11 months ago
- 7 months ago