One trigger for same command on multiple items?

Is it possible to only have one trigger that commands multiple items to do the same action?  

Here is my situation:

  • I have the user select their location from a list of 11 locations
  • 5 of these locations adhere to one process and the other 6 locations have different instructions
  • I would like to branch the course to direct the locations 1-5 to go to Slide 9 and locations 6-11 to go to Slide 10.  
  • They would then come back to Slide 11 when clicking NEXT.
  • Right now, on Slide 8, the only thing I can do is set up 11 triggers, sending each individual Location to their correct slide when they click NEXT>.  

Is there a way to say:

"Jump to Slide 9 when the user clicks NEXT> if the variable %Location% is 1, 2, 3, 4, or 5"

"Jump to Slide 10 when the user clicks NEXT> if the variable %Location% is 6, 7, 8, 9, 10, or 11"

7 Replies
Amaia Quesada

Hi,

This was helpful as I am learning about variables and conditions at the moment.
What if I want to change the state of an object when the user clicks either one of 4 other objects?

I tried using conditions but I cannot manage to define: "change state of x to hidden when user clicks object 1, 2, 3 or 4"

Can a trigger be defined for all of it?

Thanks!
Amaia

Walt Hamilton

If you are lucky, and your slide is set up just right, you can do this with one trigger, using the clicks outside action.

For example: you could create a slide with a large invisible object 5 covering the whole slide. Then place objects 1, 2, 3, 4 above it. then write the trigger to change state if user clicks outside object 5. The only way to click outside object 5 would be to click on one of the other 4.

But in a larger sense, why would you do it? That design would prevent any other interaction on that slide, and would be, in my mind, unnecessary complexity.  I would create the 4 objects, write the trigger for object 1. Then copy the trigger, select object 2, and paste the trigger. It will be copied, and the target will be changed from "clicks object 1" to clicks object 2". One copy is all you need, then it is merely - click to select object, click to paste trigger. Much faster to create, much, much easier to maintain or change, and doesn't interfere with any other interactions on the slide.