Forum Discussion

Lisalisachapman's avatar
Lisalisachapman
Community Member
2 months ago

Change state trigger not firing

My colleague and I have been troubleshooting a slide where the buttons are disabled until the initial audio finishes. Once enabled, the learner should be able to click on each oval, which then changes state to "visited" and plays the corresponding layer's audio. The "set state to visited" trigger works on all ovals except the first one, even though they are all set up the same way. We're baffled. Can anyone help?

 

  • Hi Lisa,

    I think your problem stems from Storyline's unreliable ability to tell that a button is in a visited state, or in your case, that a button should switch to a visited state.

    I think you will find a solution by performing these steps:

    1. Delete all your triggers to set the Oval shapes to a state of "Visited" when the user clicks on them. These are redundant. All but one of the buttons are automatically changing to a Visited state without the triggers once a user selects them.
    2. In order to make all of the Oval shapes switch to your desired state, select an Oval shape and then go to States.
    3. Select Edit States.
    4. Duplicate the Visited state and name it something else, such as "Details"
    5. Select Done.
    6. Repeat steps 2-5 for the rest of the Ovals.
    7. Create a trigger to "Set state of Oval 1 to Details When the user clicks Oval 1"
    8. Duplicate the trigger and change "Oval 1" to "Oval 2"
    9. Repeat step 8 for Ovals 3-5.

    You can see the attached Storyline file to see this as edited and successfully working.

  • Hi Lisa,

    Technically, your problem is not with the first oval. There is a different problem.

    Your first oval will change to the visited state, provided you click on a different oval first.

    Your problem is that whichever oval you click on first will not change to the visited state, while the subsequent ovals will. This appears true no matter which oval you click on first.