- Joined
- Dec 1, 2015
- Messages
- 42
- Reaction score
- 113
- First Language
- English
- Primarily Uses
- N/A
Ok I'm having a bit of a problem, I'm making a puzzle game and for one of the puzzle rooms you have ts change all the lights to green, I already have the light conditions set so when you walk on them they change and effect neighbouring lights.
so the puzzle starts
X0XXX0X
but say you walk over the very middle then it becomes
X00000X
then you walk over the end
0X0000X
then over the second to the left
X0X000X
and so on and so forth until the puzzle is all green lights
0000000
The problem is, I want the door to the next room to only Open when all the lights are green But conditional branching only allows for one condition. I tried using multiple condition switches with else branches but it will still open if any one of the lights are green
I tried variable but ran into another problem, because of the way the puzzle work you may need to step on a light multiple times changing it causing the Values to change but because of how many light and combinations there are people who struggle with the puzzle may end up with really high values
I'm really stuck on how to fix it anyone know how to work it?
Thanks for reading any suggestion would be helpful Please.
so the puzzle starts
X0XXX0X
but say you walk over the very middle then it becomes
X00000X
then you walk over the end
0X0000X
then over the second to the left
X0X000X
and so on and so forth until the puzzle is all green lights
0000000
The problem is, I want the door to the next room to only Open when all the lights are green But conditional branching only allows for one condition. I tried using multiple condition switches with else branches but it will still open if any one of the lights are green
I tried variable but ran into another problem, because of the way the puzzle work you may need to step on a light multiple times changing it causing the Values to change but because of how many light and combinations there are people who struggle with the puzzle may end up with really high values
I'm really stuck on how to fix it anyone know how to work it?
Thanks for reading any suggestion would be helpful Please.