Copy link to clipboard
Copied
So this is my first foray into using Assign Values, and I might be missing something.
I have 5 buttons that lead to 5 slides I want the viewer to visit. I built an advanced action that takes them to the slide, changes the button color to visit state, and assigns a value (one for each button) to 1.
Then I have another advanced action set to look for each of the 5 values and if they all equal 1, to show an exit button. But the exit button never shows.
I know that the rest of the advanced action is working. The color changes and we go to the slides. And I know that if I change the conditional from "If all are true" to "If any are true" then the button always shows up after I visit the first of the 5 slides.
Am I missing something with the "If all are true"
Advnaced actions shown below.
Copy link to clipboard
Copied
Edit: I changed the values to "3" not "1". I checked all valus and they are all assigning the value of 3, not 1
Copy link to clipboard
Copied
Please show a screenshot of the Advanced Interaction panel (F9) to identify the events which are triggering the actions.
BTW: a button has also an InBuilt state 'Visited', it could be easier to create that state which will appear automatically when the button has been clicked. Instead of an extra Highlight... Be sure to activate the 'Retain State when...'.
You show only one action where I expected to see a shared action which can be used for the 5 buttons, or at least duplicate actions. It is the reason I am asking for the Advanced Interaction panel.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I am trying to see if incriment would work instead of assign based on another forum post.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
On each of those slides you have 5 click boxes and one button, all with the same actions? And the On Enter action for each of those slides is also the same. In between there is an extra slide which has an On Exit action (not to be trusted ever). I am just trying to figure out the setup, which is not easy. Why do you need 5 identical duos of slides?
Where are the pausing points? For a button the default is at 1.5sed, for the click box at the end of its timeline. Where is the learner supposed to click? When clicking the button he will always jump to slide 14. On that slide there is another button which always goes to slide 1. That slide is hidden in the Advanced Interaction panel, have no idea what happens there.
From the first description I expected:
You see that I never mention all those actions on the click boxes. How will they be triggered? Which one will be triggered, because they include a navigation. But what happens when the learner doesn't click any click box and just clicks the button, going to slide 14 and then back to the menu slide?
Copy link to clipboard
Copied
Where are these action being triggered? When I do something like this, I have the click actions on the first tab of the advanced action on then on the next tab I put the conditional evaluation for what was clicked.
Copy link to clipboard
Copied
The main goal is to trigger a Show action of 5 differnt buttons, once they have visited all 5 slides.
Instead of tabs I have two different advanced actions. One that goes to new slide, changes visited color, and assigns the value.
And one that looks for the value and shows the exit buttons.
Copy link to clipboard
Copied
OK our comments crossed.
This cannot be done with only two actions, you need an action for each of the buttons (hence my reference to a shared action) and another one which will probably be triggered by the On Enter event of the main slide.
Have a look at:
https://blog.lilybiri.com/tips-and-tricks-advanced-to-shared-action-intermediate