Add Trigger Condition
Mar 13, 2013
Hi,
I’m trying to get my head around setting up conditions for branching.
Just for example, something like setting a trigger to assess:
IF numvar1=1 AND numvar2≥1 AND boolvar1=True THEN GOTO scene2 ELSE GOTO scene3
I'm trying to work out how to set-up complex conditions using IF / OR / ELSE / ≥ / ≤ / etc
When I look in the Trigger Wizard, I see I can ‘Show Conditions’ and ‘Add Trigger Condition’, but if I select ‘Add Trigger Condition’, the dialog box does not seem to have any links to context level help.
What I’m after are some solid examples of different usage methods and a full description of the functionality surrounding the ‘Add Trigger Condition’ dialog box.
Thanks… and apologies if I’ve missed the obvious and am asking a silly question!
15 Replies
I've checked out the online tutorials as well as books Storyline for Starters (Still, Mayor & Flowers) and Elearning Uncovered (Elkins & Pinder) but they do not really go into the depth I was hoping for...
Has anyone any idea where to find resources that go more in depth into the use of variables, triggers & states?
Thanks.
Hey, Karl!
Does this old thread help? http://community.articulate.com/forums/p/15900/91299.aspx
I hadn't seen that one Gerry - thank you.
Looking at that thread, it is a similar kind of question (i.e. about how to set up logic).
Russ Still said on that thread: "A S, that is done with a single trigger that has four separate conditions, one of a, b, c, and d. No "else" involved."
Don't suppose you've seen a .story file that examples that have you?
I'm coming at this with hazy memories of the old Authorware flow line and how the logic of that worked.
All the stuff I've looked at on the other functionality looks great - the online tutorials are fine for a quick idea, but I was hoping to kick start my understanding with some good branching and navigational examples to try out or deconstruct and to read through some context level help for the add trigger condition dialog.
Like the OP on the thread you linked, I was wondering how to set up multi level conditions along the lines of IF / THEN / ELSE (and kind of hoping there might be 'condition snippets' for that scenario already in the menu) - I don't see them, so was looking for guidance on how to set it up.
Sorry, I've not got down the route yet so I have no examples. You could try PMing Russ, Phil Mayor or Steve Flowers. One of them might have something for you. Be sure to reference this thread in the PM.
Thank you Gerry; I'll do that and post back to here if there are any links etc.
Hi Karl
To do IF, THen, Else needs more triggers
In your first example I would use to jump to triggers
One with all your conditions to jump to scene 2
one without the conditions to jump to scene 3
In that order, that would do what you want.
Phil
If you want I should be able to mock up your example, complex examples are relatively easy once you get your head round triggers and conditions.
I think my brain was just built for triggers
OOps, I appear to have rattled your cage.
I suppose that is the trouble with tribbles,
Thanks Phil.
Do you know if there is anything looking in detail at conditions and variables (associated with Trigger Wizard / Add Trigger Condition dialog boxes)?
My head is a bit of jumble on this at the moment!
Kind of scenario I was thinking of was along the lines of the ELSE acting as a sort of catchall...
Trigger 1: IF numvar1=1 AND numvar2=1 AND boolvar1=True THEN GOTO scene2
Trigger 2: IF numvar1=2 AND numvar2≥1 AND boolvar1=True THEN GOTO scene3
Trigger 3: IF trigger1var=false AND trig2var=false GOTO scene4 (a catchall to move people when they fail to meet other defined conditions).
.... if you get my drift (which I'm not sure I do!) - apologies if this is coming across as gobbledygook.
In the trigger wizard, it is the 'When' that is puzzling me - under Other Events there is an option for When variable changes but the only option in the Variable dropdown list is unassigned. What if I want an action to occur based on a particular value of a variable?
I'll have a play around and see how things come out.
Thank you for your help.
ROTFL.
Hi Karl
Tom has a good way of dealing with this and he has a mantra that he keeps repeating,
"What do i want to do, when do i want to do it?
The IF bit is the condition or conditions, do this IF the condition is:
ELSE is the second trigger
e.g.
Jump to Scene two when user clicks the Next button if Variable 1 is equal to AND (this is set by adding extra conditions Variable 2 is equal to
Hope this makes more sense, most triggers where you use variables will be using them in conditions not when variable changes trigger
aha - I may have solved that last bit about unassigned... Basically, don't look at variables while making pizza dough - I may have been looking at a text variable rather than numeric! Sorry.
Thanks again Phil - I'll go away and play with this for a week - if I haven't worked it out by then I'll come back and ask for some more help if that is okay.
Cheers.
Yes come back will help if I can
Phil
This discussion is closed. You can start a new discussion or contact Articulate Support.