You are going to have to resort to using variables for this, unless the layer in the slide you want to return to is the last viewed layer when you move from that specific slide ( i hope this makes sense ).
Assuming your end of scene slide is "slide 2" and the previous slide is slide 1, then you can do the following.
A. Set a true/false variable (say 'slide1chk' with an initial value of false).
B. in slide 2, right before the 'visit slide 1 when user presses button' trigger, create a new trigger to change the value of 'slide1chk' to true.
C. In slide 1, create a trigger in the form of 'show layer X when timeline of base layer starts if 'slide1chk' equals true.
Unless I'm missing something, that should do it.
Hope this helps,
Alex
P.S.:Apologies for any typing mishaps - currently writing from iPad.
Thanks I think this will help (I'm very new to variables), Unfortunately, I'm making it even more complicated as I have 4 layers that I want different scenes to return to. Example:
Scene 2 will return to Slide 1/ layer 2
Scene 3 returns to Slide 1/layer 3
Scene 4 returns to Slide 1/layer 4
I may have to resort to creating 3 additional slides. That might be the easiest solution until I have time to experiment.
I took a look at your file and saw the odd behavior, so I tried to import it into a new file and the behavior persisted. Can you double check that you're working with local project files as described here?
I also changed the behavior of your slide's properties to allow for it to advance by user, instead of automatically and I'd suggest to remove the trigger to advance when timeline ends and change it to when the user clicks, as the slides will continue to loop. For more information on how the slides will behave based on the slide properties please review this article.
If the user leaves the slide, and the layer you want is showing and is not closed, and the slide is set to Resume Saved State when revisiting, then the user will see that layer when returning to that slide.
10 Replies
Hi Karen,
You are going to have to resort to using variables for this, unless the layer in the slide you want to return to is the last viewed layer when you move from that specific slide ( i hope this makes sense ).
Assuming your end of scene slide is "slide 2" and the previous slide is slide 1, then you can do the following.
A. Set a true/false variable (say 'slide1chk' with an initial value of false).
B. in slide 2, right before the 'visit slide 1 when user presses button' trigger, create a new trigger to change the value of 'slide1chk' to true.
C. In slide 1, create a trigger in the form of 'show layer X when timeline of base layer starts if 'slide1chk' equals true.
Unless I'm missing something, that should do it.
Hope this helps,
Alex
P.S.:Apologies for any typing mishaps - currently writing from iPad.
Thanks I think this will help (I'm very new to variables), Unfortunately, I'm making it even more complicated as I have 4 layers that I want different scenes to return to. Example:
Scene 2 will return to Slide 1/ layer 2
Scene 3 returns to Slide 1/layer 3
Scene 4 returns to Slide 1/layer 4
I may have to resort to creating 3 additional slides. That might be the easiest solution until I have time to experiment.
You could still get away with it, using one variable, only it has to be be a numeric one.
0 = initial value
1 = layer 2
2 = layer 3 and so on...
then insert additional triggers with the relevant conditions as in step B and C that I described above.
Let us know how it goes,
Alex
Karen, here is a quick screenr on you can do this using a single variable as Alexandros suggested.
And here is my .story file in case that is helpful.
I tried the variable change idea to go from slide 2 to slide one, and I hit an infinite loop
Please check out the inserted.
Hi Steve and welcome to Heroes!
I took a look at your file and saw the odd behavior, so I tried to import it into a new file and the behavior persisted. Can you double check that you're working with local project files as described here?
I also changed the behavior of your slide's properties to allow for it to advance by user, instead of automatically and I'd suggest to remove the trigger to advance when timeline ends and change it to when the user clicks, as the slides will continue to loop. For more information on how the slides will behave based on the slide properties please review this article.
Hi
Sorry to jump in i noticed you said "unless the layer in the slide you want to return to is the last viewed layer"
Could you please let me know how to do this as i need this for a project i am working on???
Hi Pete,
you have to set your slide to "Resume saved state" when the user returns to it. You can read more about it here: Determining How Slides Behave When Revisited.
Pete,
If the user leaves the slide, and the layer you want is showing and is not closed, and the slide is set to Resume Saved State when revisiting, then the user will see that layer when returning to that slide.
Hi again, Pete. :) Just want to link to this other discussion which includes pointing to a specific layer, not just the one last visited.
This discussion is closed. You can start a new discussion or contact Articulate Support.