Triggers Quickie...

Jun 15, 2012

I have a shape and when the learner clicks on it, it changes a text box from "Hidden" to "Normal".

At the moment I have 4 x Triggers set up for the 4 x text boxes that all appear at the same time.

Can I do this in any way with 1 Trigger, almost like a Variables "AND" statement?

So - can I use 1 trigger to change multiple object states at the same time?

Have not spotted it if you can - not a big deal, but thought I'd ask.... 

Thanks

Bruce

6 Replies
Bruce Graham

Phil Mayor said:

wouldnt it be easier to put them all on one layer?


Well....yes...but sometimes only a trigger will do, (just like sometimes only a Quarter Pounder + cheese will do...)

There's normally several ways to do things, and I'm sure a "multiple triggers" option is not that stupid ( ), but then again, yes, a layer would do it.

Bruce

Steve Flowers

Man... a QP+Cheese sounds really good. 

Multiple activations from a single trigger would be really handy. There are built-in mechanisms to group actions but they aren't as cohesive as they could be. Here are a few ways I've done this:

1) Put a set of actions in a layer. Show that layer to execute a set of actions. This sets up your layer as a "function".  I can still have my objects on the base layer.

2) For showing and hiding objects, using the layer visibility configuration is really handy. This is pretty cool since you get a visible indication of what's going to show and what's going to hide. No triggers necessary in this case.

3) Extend the "triggers in a layer / layer as function" by adding a variable listener and making stuff happen by "command". For example, you could setup a layer show to show, hide, deactivate by a set of triggers then setup a variable listener to trigger this layer function. Either through a toggle or through a specific value. 

Layer 1: When shown executes triggers to show object 1, set object 2 to inactive, and set objects 5, 6, and 7 to happy. Hide the layer when the timeline ends, set timeline to .5 seconds length. It opens, executes and closes.

Base layer trigger listener: Show Layer 1 when Variable1 changes.

Button Trigger: Adjust Variable1 =NOT Assignment (Toggle it)

Now every time you hit the button, it'll execute the function. You could setup other buttons to execute other "Layer functions" using the same mechanism. Pretty cool way to uncouple your logic from the button and provide the means to access procedural trigger chains without having to put them on every single button.

Rene Koppes

Is it possible to create a group where you could drop triggers? If you have a lot of triggers on the base (layer)  it is hard a lot of work to search for the right trigger. If you could drop triggers in a group you have a better  clear overview.

Is it possible to create groups? If so, how I add them in Storyline?

This discussion is closed. You can start a new discussion or contact Articulate Support.