Changing the state of a hidden button to normal with variables and conditions

May 12, 2017

Hello,

I have just finished populating my storyline file will placeholder content, and I'm after some advice about how best to go about developing a few trigger. I have tried multiple ways to make this work, but I can't seem to get it right. 

I have a main menu slide which has 6 buttons on it. Button 5 five takes the user to a slide called 'Part Wheel.'  In this 'part wheel' slide I have a base layer with a 'back to main menu' button which is hidden, and 6 slide layers. Each slide layer has a 'learn more' button. When the user clicks on this 'learn more' button they are taken to a separate slide with a tab interaction that has more content. 

I want to make the following happen using triggers: 

- to begin with hide all the 'back to menu' buttons on each home page of the 6 tab interactions

- each 6 tab interactions have a variable of false to begin with, and when each tab interaction's content has been viewed change the value to true and show the 'back to menu' button

- when all the tab interactions have been viewed (equal to true) show the 'back to main menu' button (change it's state from hidden to normal) on the part wheel slide

- when the 'back to main menu' button is true change the state of the 'Button 5' button on the main menu page from normal to complete (custom state) 

 

I hope this all makes sense, I have attached my .story file for your reference. Any help would be much appreciated, i'd love to hear your thoughts!  

Thanks in advance! :)

15 Replies
Leslie McKerchie

Hey APM!

Trying to keep up with your description here, let's see how close I get:

  1. Slide 1.1 - Click Button 5
  2. Slide 1.3 - Click Section 1 (this is the one I looked at/adjusted)
  3. Click through all sections and notice Back to Menu appear
  4. Click Back to Menu

What am I missing?

Your updated file is attached.

APM  Learning

Hey Leslie, thank you so much for your reply, I really appreciate your help.

The changes you have made are great. However, I'm wanting to take it a few steps further:

- the changes that you have made on slide 1.3 (Part/Section 1) need to be duplicated to all parts/sections - Part 2 (Slide 1.4), Part 3 (Slide 1.5), Part 4 (Slide 1.6), Part 5 (Slide 1.7), and Part 6 (Slide 1.8)

- then once all the parts/sections on slide Part Wheel (slide 1.3) have been visited the 'Back to main menu' button needs to appear (change its state from hidden to normal) 

- finally. once the 'back to main menu' button has been click and the user is taken back to Menu (slide 1.1). change the state of button 5 from normal to complete (custom state) 

Please let me know if this doesn't make sense. thanks in advance! 

APM  Learning

Hi Walt,

Thanks for your input, all the feedback helps! 

I understand that Leslie may have left that for me, that's great, I have duplicated those steps in the bellow attached file. 

However, that is not the issue that I am having trouble with. What trigger should I use to call the 'back to main menu' button to appear? Did I made the right decision using variables? 

As you know I would to like to develop some triggers to complete the following: 

- then once all the parts/sections on slide Part Wheel (slide 1.3) have been visited the 'Back to main menu' button needs to appear (change its state from hidden to normal)

- finally. once the 'back to main menu' button has been click and the user is taken back to Menu (slide 1.1). change the state of button 5 from normal to complete (custom state)

 

This is a screenshot of the trigger I am currently using. I have two reference variables on the Part Wheel slide (slide 1.3). The variables have changed to true, but the action doesn't happen. I think this is were my file is breaking.  

APM  Learning

Hi again, 

I have added a custom state called 'Seen' (with a green tick) to the Part 3 arc on slide 1.3. 

I am trying to add a trigger that changes the state of the arc from 'normal' to 'seen' on the condition that the variable 'Part 3 Seen' is equal to true. (which means that all the content on slide 1.5 has been seen and they have clicked the 'Back to Menu' button) 

I have tried to apply the same logic as the above trigger but it hasn't worked. 

 

Any advice would be much appreciated. Many thanks :) 

 

APM  Learning

Hi Wendy, 

thank you very much for your quick response! What you have suggested sounds great and it is definitely something I want to look at doing. 

However, at the moment my main focus is developing a trigger that changes the state of the arc from 'normal' to 'seen' on the condition that the variable 'Part 3 Seen' is equal to true. (which means that all the content on slide 1.5 has been seen and they have clicked the 'Back to Menu' button).

Considering that your solution to my initial query involved setting a trigger on the 'Back to Main Menu' button by clicking the object 'btn_close', I'm not sure if what you have suggested is the best option. 

Is there another way that you know of? 

Wendy Farmer

Hi

I'm noticing duplicate triggers so I think I am getting a little lost.

On 1.3 you are adjusting variable Part3seen to True when user clicks close button

On 1.5 you are adjusting Part3seen to True when timeline starts on 1.5 and when user clicks back button.

Update: see if the attached works for you. 

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