Creating multiple buttons for one door
This tutorial will detail the basics of getting a door to open only when two (or more) buttons are activated.
Door, Buttons, and Triggers
Create your doorway and two buttons by following the tutorial for creating a button and linked door through step 5 of the section titled "Triggers".
- The name of the movement door under the button (originally button_top_door)
- The parent of your button_top_model (same as above)
- The name of the two triggers button_trigger_player and button_trigger_box
Next, complete steps 7 and 8 under Triggers on the other tutorial for each button, making sure that you are using the appropriate button#_* prefix.
Setting the Buttons to Open the Door
Create a math_counter entity, and put it near your door. Set the following properties:
Property Name Value Name buttoncounter Minimum Legal Value -1 Maximum Legal Value 2
Now go to the Outputs tab and set the following outputs: