Two triggers on one object?

Dec 20, 2012

Hello,

I have attached a single slide to this post.  In it you will see I have four images at the bottom.  I want to have multiple triggers on each object.  One trigger- activated when hovering over the image, works just fine.  My second trigger I want on these pictures is a trigger that is activated when the viewer clicks on the same image.  When clicked I would like it to open up a new layer.  This does not seem possible, although I have seen posted several times that you can have multiple triggers on single objects.

Thanks for your help,

Marc Raab

21 Replies
Christine Hendrickson

Hi Marc. Welcome to E-Learning Heroes!

I took a look at the file and I think I found the problem. 

With the first image, the trigger is to show the "The Gateway" layer. The problem here is that the image on that specific layer had no trigger - the trigger was set for the image that was on the base layer. This isn't the image you're going to see if you also have the image on another layer. Once I put a trigger on that image to open the "Gateway Content" it works. 

I'm posting the modified version, if you'd like to take a look.

Norma Miller

I have a related problem. It seems I can't get two triggers working on a picture - I have to use a hotspot every time. It just feels as if that's the hard way to do it, and I want to know if there's an easier way.

Specifically, I am using six checkmark buttons surrounding an image on the base layer. I have created six additional layers, each with a text box to go with one of the six buttons.

What I want to happen is for the image's state to change (I've created a state that's 80% transparent), and for the text in each layer to show right over the picture. So, I want my first trigger to change the state of the picture and my second trigger to display the layer with the text. However, only the first trigger is working. (I've also tried reversing them, but it didn't make any difference.)

Is a hotspot the only answer, or am I missing something?

Thanks!

Michael Hinze

Hi Norma, this should be easy to do. You are probably just missing some little detail in your setup. Have a look at the attached file and see if that's what you want. Each of the six buttons has two triggers, one that changes the state of the pic, the other calls the corresponding layer. Hope that's what you wanted.

Norma Miller

Hi Mike,

Thanks so much for the quick reply and for taking the time to create an example for me. This is almost what I need, but the text is disappearing too quickly.

Rather than extend the timeline, I'd prefer to have the learner control how long the text remains visible. Is there a way to do that using the setup you created?

Thanks again!

Norma

Norma Miller

Yes, I've used that technique on other slides.

This morning I experimented with another solution that worked but was much more labor-intensive: I put conditions on each of those two layer triggers to fire only if all the other five buttons were Visited - so, 10 additional conditions for each layer.

One button on the layer sure beats that!

Many thanks, Mike.

marina r

Hi Everyone,

I would like to post a question to the community about some triggers I am trying to set up.  I have attached the file as well.  I have two characters who give advice, and I would like the user to click on their heads to be able to hear what those characters have to say.  I put clear rectangles over the heads of each character to host the triggers.  I am trying to set up two, simultaneous triggers so that when the user clicks the clear rectangle, the character underneath begins speaking and the rectangle changes states from clear to yellow/transparent (to show it is selected).  Then I would like to stop the audio that is playing when the user clicks on the rectangle again (on the condition that the rectangle is "selected").  I have gotten confused now because my triggers aren't working for me.  Among several confusions, the audio plays when the rectangle is not selected...  I would greatly appreciate any help!

Thank you,

Marina

marina r

Thank  you so much for your help!  This is great!  I do have a couple more questions - 1) Do I need to keep the variable references on the slide?  I'm unclear on the purpose it serves located in the text box on the slide.  2) In order to stop the audio of one speaker when the user clicks the other speaker (so that the speakers can't play simultaneously), should I just copy the "stop" trigger and change the trigger object to the other rectangle?

Thank you,

Marina

Wendy Farmer

Hi Marina

1. no you don't need to keep the variable references on screen, that was so you could see how the triggers reacted when the variable changed. 

2. What is your instruction to the learner on that slide about how they interact with the images?  That will give a better idea of how best to write the triggers.

Walt Hamilton

Absolutely. You can have as many conditions as there are triggers. I suspect that somewhere out there, short of infinity, there is a limit to how many triggers a slide can have, but I don't know if anybody knows what it is.

You can also have multiple conditions on a single trigger, if you connect them with OR.

Attach your .story file here with an explanation of what you want to do, and someone can help you.