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
Bert Snow

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.

 

Wendy Farmer

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.