9 Replies
Walt Hamilton

If the button has a selected state, clicking on the group will probably change it to the selected state. Once you have finish with the slide, do you have a real need to have a group? If the objects are just grouped to make them easier to move, ungrouping may be your answer. If they are grouped just to save time writing triggers or changing states, experience has shown that to be less than ideal practice. Can you explain how and why they are grouped, and what exactly the button does that you don't want, and what you do want? Even better, can you attach your .story file here? Someone may be better able to help if they can see what is going on.

Katie L

I used one of the accordion templates from the downloads section for time saving purposes, the objects are grouped in order to move them.  I've created a next button within each group to jump to additional slides on that topic.  In hindsight it was probably not the best template for my end goal but here we are.  Here's the file.

Nancy Woinoski

Walt is correct. When you click on a group, any object in the group that has a selected, or visited state (or custom state with change state triggers)will change. If you hover over a group, any object in the group with a hover state will change. 

If the objects don't need to be grouped then ungrouping will solve the problem. If they do need to be grouped and you don't want the button to change state then you can go into the states for the button and either delete the states you don't want or change how they look.

Walt Hamilton

In this case, you probably want a group so the objects all move in at the same time, so in that case, you need to take off the visited state from the NEXT button. However, if you want it to show that scene as visited when a user returns, Create a custom state with a different name. That way you won't have the built-in trigger to contend with. Standard procedure is to set a variable at the end of the scene that the next button jumps to. Then when the user returns to the menu, the state of the NEXT button is set to normal or Completed depending on the value of the variable.

This sample shows how to change the state of a button on the basis of visiting another slide. The triggers you want are mostly on the Restricted slide.

Katie L

I must still be missing something.  I've created custom states on the buttons and variables and triggered them at the end of each target scene.  The variables are changing to true when I insert a reference however the button states still aren't changing to complete.  Any thoughts?

Walt Hamilton

Change these triggers:


The reason they don't work is that the variables are being changed on other slides, so these triggers on this slide can't see the variable change.

Set them to change the state when the timeline starts on the slide on condition the variable is True.

Then you need to change the order of these two triggers:


because when the jump to 6.1 starts, it ends the execution of this list of triggers, and hyper is never set to True.

I made these changes to Hyperthyroidism, and it works in the sample.