Is there a way to make one button affect multiple doors? The first door will be opened or closed by the toggle of the button. The second door or doors will only close if already open, never opened. The doors all have different names.
I have gotten one button to open multiple doors with a multi_manager but have not been able to ensure some of those doors will only close by that particular button. I have also gotten this to work entirely using multiple doors for each doorway so the close only doorways remain blocked from certain buttons. But I would like to eliminate some entities.
The Exact Case:
Toggle Buttons 1-4 and doorways 1-5. Doorway 5 is open by default. Door 5 is only open if all buttons are off. There is only one doorway open at any time. This doorway corresponds to the lowest numbered button that is on.
So if a player presses button 1 and 3, only doorway 1 is open. If button 2, 3 and 4 are on/pressed only doorway 2 is open. I would like to accomplish this with the least number of entities total.
Thank you for your time I know this is a lengthy post and a complicated request.
-User