How can I use open a door when multiple buttons are pressed?

I’ve been working on a short demo to showcase for some work experience, I’m more used to c++, c# etc and Verse is something I’m struggling to wrap my head around.

I’ve worked on a couple of reusable systems like making text appear on the screen when you stand in an area, as well as a door that can open and close on a button press. However, I’m struggling with making that system work with multiple buttons. For one, it doesn’t seem like you can toggle buttons, nor can I find out if a button in an array was pushed. Can anyone point me in the right direction? I’d be fine with making a totally custom button device too, if anyone has any pointers on that.

Hey, you can use the switch_device for a toggle button. As for tracking that in Verse it should be a case of putting them in an array (or similar) and checking the state on all using GetCurrentState.

1 Like

Thanks, I eventually did find that and felt pretty stupid for missing it lol

No worries, I think I wondered the same thing originally looking for something like a “Button Toggles” option on the button device.

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