Having Trouble Getting Piece Color to Change?
May 26, 2017
By
Katie Farron
Hi, all!
I am working on that new hire board game, and I have a slide where you can choose your gamepiece color and have it show up on the board in the next slide. However, I've tried multiple times and it still just shows up as the original color. :(
I have one red piece, with a state for each other color. I have a variable called PieceColor set up to show different values (0, 1, 2, 3) if the status is selected, then on the next layer a trigger that says "Change state of GamePiece to Green if PieceColor=2 when timeline starts" or something to that effect. I'm wondering if I'm missing something...can anyone advise?
Thank you so much!
9 Replies
Hi Katie
can you share the .story file - might be easier for someone to help if they can look at the setup.
Whoops! Sorry about that! Does this one work?
Hi Katie
I'm a little confused. From slide 1.2 when they select the token and click the icon - where should that go, to the layer of slide 1.2, or slide 1.3 or the layer of slide 1.3?
Hi Katie
I've updated the trigger on slide 1.2 and moved it to the bottom so that the variables change before the jump trigger. Then I changed the jump to slide trigger to a show layer trigger and it appears to be working.
Wendy:
I may have messed that one up by accident...I think when it wasn't working on a new slide, I tried to get it to do so on a new layer to see if that would solve it. I'm just competent enough on Storyline to get the basics down but I trip up on some of this :)
Wendy:
Thank you! I'll check it out! I understand if it's too long of a question, but do you mind explaining where I went wrong there and how you fixed it? I was using a sample download of a bicycle game where you could choose your bike color as kind of an outline and for the most part just tried to replicate those triggers.
So the issue is, I think I want it to jump to slide 1.3, where there are multiple layers for each question when the player drops the token on the gameboard. I got a little confused and made a few extra slides, but is there a way I can delete the extra layers and just have the correct piece color show up on the gameboard slide 1.3?
Hi Katie
see attached updates to your file.
I created 4 T/F variables default to False one for each colour. I used these variables in the triggers instead of the PieceColor number variable. I deleted the layer on slide 1.3 and put all the triggers to change badges and jump to question slides on the base layer.
I think it is working how you expect.
Let me know how you go.
This is wonderful so far, it's what I need to continue working on the scenario! I really appreciate the help - I would love to hear more about where exactly I went wrong on this one when you have a spare moment just so I can know for the future, but thank you so much!
This discussion is closed. You can start a new discussion or contact Articulate Support.