Stuck with the Triggers

May 27, 2014

Hi,

I am kinda stuck with the triggers for this GUI. I have made all the three polygons clickable so that the user can jump to the desired Unit but statistically, Unit 2 and 3 should not be clickable unless Unit 1 is visited. And same goes for Unit 2. How can i do it? 

15 Replies
Marko Stojkovski

Also you can solve this with variables.

For the click on UNIT 2 button

Jump to slide unit 2 if unit1 (variable) is equal to 1

for the click on unit 3 button

Jump to slide unit 3 if unit2 (variable) is equal to 1

And put the command

Adjust variable unit1 to value 1 where you want (if you want the user to view the whole unit one you can set this on the last slide of unit 1 and put when timeline ends) also do for unit 1 button

Ashley Terwilliger-Pollard

Hi Ashi,

It may help if we're able to take a look at your .story file and what you've set up in regards to the triggers for your state changes. You can share it here using the paperclip icon to attach it in the forums. In the meantime, it may also help to review the information here on the built in states, how the disabled state works, and a reminder regarding the order in which triggers will be executed. 

Ashley Terwilliger-Pollard

HiAshi,

Iadded a trigger to change the state of your Unit one button to disabled whenclicked, and to also change the state of the Unit 2 button to normal when Unit1 is clicked. I also wasn't sure how you wanted the user to navigate back tothis menu, so I added a trigger to the previous button on your last slide inthat scene to bring the user back to the menu and previewing this, everythingseems to work out - Unit 1 is now disabled and the user can click on Unit 2(althought it's not currently set to go anywhere).

Canyou take a look at the attached and let me know if you have any questions?

Raju M N

Dear Friends,

 First of all thanks to ashi for good question,as well as grate support of dynamic people.

my problem is:

some where i am missing the restricting ,i try to build the replica but i could not done as we discussed above.

so please help to build this,i am attached my sample file.

thanks in adv

Ashley Terwilliger-Pollard

Hi Raju,

I'm unsure what you're looking to set up - I see that if I click on the first rectangle, I'm brought to the next slide, and when I revisit that menu, the first rectangle is disable and  now I can click on the second rectangle?  There wasn't a trigger to bring me back to that first slide so I had to click on it from the menu - could that be a part of the problem you're experiencing? 

Raju M N

Hy Ashley,

Thanks for the reply,i am sorry i am not give a clear view.

  "There wasn't a trigger to bring me back to that first slide so I had to click on it from the menu "

  -i think for this we can set a trigger in last slide that bring back to first slide

hope that was right.

my problem is in the first slide i could not control the  2 and 3 button ,still they are active.

where in the example which Ashi posted the other two button are inactive,i could not do that.

thanks in adv

Ashley Terwilliger-Pollard

Hi Raju,

You could definitely set a trigger on the last slide to bring the user back to the first slide - I did not want to adjust Ashi's navigation too much, so used what was already there. 

In Ashi's example if you look at the state for the 2 or 3rd button you'll see the initial state is set to disabled. 

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