Forum Discussion
States not doing what I need.
Hi Everyone... I have an interaction where the learner uses a slider to view multiple sides of an object (8 different states). On the main state I have several markers, and depending on the slider position/state, the (homemade) marker is hidden or visible. When the learner clicks the marker, it changes states so the learner knows they clicked it. A layer is shown with each marker click.
My issue is that when the learner changes the slider to a different object state, but wants to return the previous slider position, the marker returns to a "normal" state. What I want is for the marker to still be in the visited/selected state if they return to it.
I created T/F variables for all markers thinking maybe a T/F variable would help in the conditional trigger, but it didn't.
I have attached the .story file for review. The slide in question is 2.2 (I will have to repeat for 3.2). I appreciate any help with this.
2 Replies
- dancanaveral23Community Member
Hi Terry. I reimagined your project by making several key changes:
- Inserting the markers themselves into the relevant feature layers
- Tying the audio to a click event (i.e., when the marker is clicked)
- Having each feature layer appear to "close" when the audio completes (this required adding dead space to the audio itself to allow for some delay)
- Having the floating description boxes initially set to Hidden within each feature layer until a click event changes them (temporarily) to Normal
- Creating triggers that change feature checkmarks (off stage with initial state of Hidden) to Normal until the click event takes place on the appropriate feature layer
- Adjusting the Layer Settings to "Resume..." when revisiting
I've gone ahead and built out a few layers to get you started. Thanks for the challenge.
- BobbyGarcia-7ddCommunity Member
Don't have time to tinker around as much as I'd like but I tried one thing. I added a trigger to Change State of 'Left Adjustable armrest' to Selected when the 'Slider 1' moves to Value 1 if '0Armrest_Selected' value is True. I previewed it and the armrest button showed the Selected state but it remained on screen no matter where the slider was positioned.
Not a complete solution but I hope this helps.