Portal - Tutorial - Multiple Buttons For One Door
		
		
		
		Jump to navigation
		Jump to search
		
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 tutorials Floor button and Test Chamber Door.
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 - door_counter - Maximum Legal Value - 2 
 
For the Maximum Legal Value key value, you can enter whatever number you need.
Now go to the Outputs tab and set the following outputs:
Now go to each of your floor_button_door brush entities and set these outputs:



























