Making an Escape Room. Need help figuring something out

Hypothetically, how would you make it so you need to press 3 different buttons to unlock another button?

(I’m new at this. Please don’t judge me)

Maybe a series? One button is pressed, which deactivates the second, which deactivates the third, and once all of them are pressed you can get to the last one.

Wait there’s a better way if you want the player to be able to find them without having a specific order. Have each button transmit on a channel called buttonpressed when pressed, and then deactivate itself. Place a counter that has a target value of 3 and have it increment every time if receives on buttonpressed. After the counter reaches its target value, have it broadcast on unlock which activates a deactivated button.

each time one of the buttons is pressed, deactivate said button and increment a counter. set the counter goal to 3 and place another button deactivated on game start. set the counter to broadcast on channel when it reaches the goal and set the button to activate on that channel.

oh sorry didn’t read your reply :aerial_tramway:

2 Likes

That’s… what I said? Except for the deactivating part, huge oversight on my part XD
:aerial_tramway: is real

So I patched it. Kinda. If you don’t set the deactivate button channel, it works. The only problem now is that if you hit the same button multiple times, it will still unlock the other button.

Wdym? I tested it and it works.
Oh, you mean with deactivating. I didn’t test that yet.

Yeah, so now I just need to figure out how to get the buttons to only be used once, WHICH, I think I know how to do…

Never mind, it did not work

WAIT. I think I got it

Yeah I got it. You just gotta make it so the button can be pressed multiple times, but it wont do anything.

1 Like

Don’t forget to mark a solution on whoever helped the most so this can close.

So basically what you need to do is place the 4 buttons, it doesn’t matter where, and place three triggers, one for the three buttons you will use to unlock the fourth one. Then, open the trigger’s settings, go to “When triggered, transmit on” and set that to something (Ex. Channel A). Repeat that process with the other buttons and triggers, using the same channel you created earlier. Now, wire the trigger to the corresponding button. Next place a counter and wire it to the button you want to be locked until the pressing of the other three buttons. Go into the counters settings and click “Target”. Then set the target value to 3. Now go to “Channels”. Remember that channel you used on the triggers? Here’s where it comes back into play. Set the “Increment counter when receiving on” to the same channel you used with the triggers. Then, go to the fourth button’s settings and “Active on game start” to “No”. And that’s all there is to it. You can also do this with different amounts of buttons.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.