Master slide trigger not working - won't show layer
Jan 12, 2020
I'm using triggers on the master slide to set up a "top bar" which will have different scoring meters displayed, depending on which section of the game the player is in.
In my test, I use two triggers, on a "Trigger layer" on the master slide. One displays the top bar base when the variable ShowTopBarMaster changes (I add 1 to it at the start of the game slide). This works fine. The second trigger is meant to display a specific meter on top of the top bar if we're in the Investigate section: so it's set to "show layer TopBarInvestigate when TopBarMaster changes IF InvestigatePhase = True. (I set this variable to true at the start of the slide as well.
But... the TopBarInvestigate layer is not shown, and I can't figure out why. I checked the layer properties, and none are set to "hide other layers". Help! what am I missing?
I've published the test to Review 360 if that helps.
7 Replies
Easier for someone to help Bert if we can see and work with the source file setup - can you share it?
What's the best way to share it? Here's the Review 360 link:
https://360.articulate.com/review/content/f4b47771-99bb-4f08-b0ea-765e4b095a19/review
and here's the Storyline file
Hi Bert
see if this works how you need it to. I've modified triggers on the Trigger layer on the master slide
Thanks Wendy. Hmm - you may need to explain how this is working. (which will also help me understand how Storyline handles this.)
It IS doing what I was after: showing both the TopBarBase layer and the TopBarInvestigate layer on top. But I'm not sure how this works - it looks like you're hiding the TopBarBase layer with the last trigger - yet the TopBarBase layer is seen. Why is it not hidden? and why do you need to hide it?
And why does it work to use the change of the InvestigatePhase variable to show TopBarInvestigate, when it didn't work to use the change of the TopBarMaster variable to show it?
Thanks so much! I am an experienced game designer/developer, but this is my first project working with Storyline.
Hi Wendy,
I'm hoping you can take a minute to tell me a little about why what you did works (see details in my post yesterday). I've got a bunch of master layers to set up, and want to understand how it works to avoid causing problems. Thanks!
Hi Bert
It was just a bit of trial and error to see what would work Bert.
I couldn't see the TopBarInvestigate because the TopBarBase layer was active - that is why I use triggers to hide the TopBarBase layer when showing the TopBarInvestigate. In order to show TopBarInvestigate you do that when InvesigatePhase=True, you are really toggling between the two topbars so hiding TopBarBase when InvestigatePhase=True.
Hope that helps.
This discussion is closed. You can start a new discussion or contact Articulate Support.