Forum Discussion

MoniqueLiles-de's avatar
MoniqueLiles-de
Community Member
10 months ago

My triggers work one minute and then not the next with nothing changing

I created a double bubble map with triggers that work on preview and then without the file being altered they don't work and give incorrect answers. I started in the Storyline 360 64 beta and then switched back to the regular Storyline 360. It worked at first then started randomly responding the opposite of what the trigger says to do. I tried it several ways. Then when I added another duplicate trigger it worked but then the other triggers did not work, only the new one.  Please advise. The functionality should be when students select a topic rectangle and then a circle category the answer is revealed as correct or incorrect. If correct the smaller circle populates with the topic.  Also, I set the states to change to gray when visited but some would not turn gray and remained white even though programmed to turn grey with the proper color code.

  • Hi Laquita, what you need to do with this interaction is make use of the "Selected" state. You can then select all of the selectable options, and then turn them into a "button set". When buttons are part of a button set, only one button can have a state of "Selected" at a time. This allows you to use the "Selected" state on your triggers, rather than the "Visited" state. The issue with the "Visited" state is that multiple buttons will have that state when they have been selected. Even if you change the state of the button to a Correct/Incorrect, it has still been "Visited" and will therefore trigger when checking for that state.

    In summary, 

    1. Add a selected state to all selectable options
    2. Select all selectable options, right click and select "Button set > Button Set 1"
    3. Update triggers to look at the Selected state to determine which option is currently selected.
  • I also note that within the triggers where the logic determines if the Correct/Incorrect layer is shown, you then have a Show Correct that overrides the logic on all of the three buttons.

    I have edited the file for you. I've labelled buttons and options. This makes it much easier to check your triggers are working on the correct elements. Prior to this, it was difficult to see if the state was being set on the correct element. It was not in several instance. As you will see with the naming convention, it makes it far easier to manage a complex interaction like this.