I am trying to only show a "directions" layer once when the slide is viewed for the first time. There are four other slides that link back to the main slide and I do not want the "directions" to appear every time it is linked back. I created variables on the main slide called "DirectionsVisited" set to false, and a trigger to hide directions if "DirectionsViewed is equal to True" however it is still now working. Any advice?
Create a trigger on the directions layer so that when you click that you are done and are ready to leave it, the "DirectionsVisited" variable is set to true. Create a trigger on the directions layer to hide this layer when the timeline of this layer starts if DirectionsVisited is true.
I'm trying to do the same thing. I tried what Walt suggested and it didn't work, so I tried a slightly different approach, which also didn't work.
I created the Directions layer and Directions Visited variable, with the trigger Set DirectionsVisited to value True When the timeline starts on this layer. On the Base layer, I created the trigger Show layer Directions When the timeline starts if Directions Visited ≠ [does not equal] value True.
Doesn't work -- the Directions layer doesn't appear. If I remove the condition, the Directions layer shows on every return to the slide.
What I just did on a new project I started was set up a variable called firstvisit and set it to false by default. On the slide I want the directions to appear, I had it set up to automatically show the directions layer if firstvisit is false. Then, on the directions layer I set the firstvisit variable to true when the timeline starts on the layer. Once they're finished, you can hide the layer and even if they revisit the slide, that layer won't show up again.
10 Replies
Create a trigger on the directions layer so that when you click that you are done and are ready to leave it, the "DirectionsVisited" variable is set to true. Create a trigger on the directions layer to hide this layer when the timeline of this layer starts if DirectionsVisited is true.
I'm trying to do the same thing. I tried what Walt suggested and it didn't work, so I tried a slightly different approach, which also didn't work.
I created the Directions layer and Directions Visited variable, with the trigger Set DirectionsVisited to value True When the timeline starts on this layer. On the Base layer, I created the trigger Show layer Directions When the timeline starts if Directions Visited ≠ [does not equal] value True.
Doesn't work -- the Directions layer doesn't appear. If I remove the condition, the Directions layer shows on every return to the slide.
Attach your .story file here, and somebody can take a look at it.
The relevant slide is 3.5. Thank you.
Hi Ellen,
Set the default value of DirectionsVisited to false. Right now it is true.
What I just did on a new project I started was set up a variable called firstvisit and set it to false by default. On the slide I want the directions to appear, I had it set up to automatically show the directions layer if firstvisit is false. Then, on the directions layer I set the firstvisit variable to true when the timeline starts on the layer. Once they're finished, you can hide the layer and even if they revisit the slide, that layer won't show up again.
It worked! Thank you Walt, Marie and David.
You're welcome. PIAWYC (Pass it along when you can).
I was looking for this too, thanks for your help!
Thank you folks for using words that my search could find you the first time! This worked very well.