Forum Discussion
Change state on hotspot only when returning from new scene
Hi, Marion.
Thank you for sharing the .story file!
It's a little difficult to troubleshoot the project, since you've used different states (some had both a visited state and a visited1, while another had a completed state, but no visited one), triggers (as you mentioned, you tried both lightboxing and jumping to another slide) and you are using the same variable with all three buttons (Variable2).
So my first suggestion is to start from scratch, using simple shapes to create the logic. Once everything is set, you can replace the objects with the final images.
Make sure that for each menu icon, you create a separate True/False variable (default value = False).
That variable can then be switched to true when the user visits the related slide. Since on your initial slide, you'll have a trigger to change the state of the object to completed when the timeline starts, if the value of completed_one is true, it should only adjust it when the user returns to the main menu:
Let me know if this works!
Related Content
- 12 months ago
- 5 months ago
- 10 years ago