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?
Could always go with an initial state on polygon 2 and 3 of disabled, then trigger state change polygon 2 to normal when user clicks polygon 1, then same for polygon 3, triggered to normal when user clicks polygon 2.
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
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?
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?
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.
15 Replies
Could always go with an initial state on polygon 2 and 3 of disabled, then trigger state change polygon 2 to normal when user clicks polygon 1, then same for polygon 3, triggered to normal when user clicks polygon 2.
Thanks Alex...I wonder why i didn't think of that :P
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
Thanks Marco...
Same issue... I want Unit-2 to be active and Unit-1 disabled once unit 1 is completed...Given solutions are not working.
Please help!
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.
Hi Ashley,
I have uploaded the file. I want the Polygon 1 to be inactive and Polygon 2 to be active once Unit-1 is viewed.
Thanks in advance.
Ashi
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?
Thanks Ashley!
Misson is accomplished
Apparently, I was messing with the order of triggers.
Thanks Again!
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
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?
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
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.
Dear Ashley,
"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"
Their is the one i am missing all the time,you people are saviors.
Thanks a lot
Glad we could help Raju.
This discussion is closed. You can start a new discussion or contact Articulate Support.