button useage???

trebhome

Newbie
Joined
Nov 19, 2004
Messages
158
Reaction score
0
I have a garage door that i want to open only when a button is pressed. then stay open untill the button is pressed again. How do I make a button for this door? and how do i make it do what I am specifying?
 
first you need to understand the concept of entities and how you connect entities with input and output.

second, the entity you want for the button is called func_button. You'll connect its output to an input of another entity, func_rotating, which will be your moving door. You'll want to move the origin of the func_rotating because this is the point which the brush will rotate around. If you left it as is (assuming your door is a rectangular sheet), it would rotate around its middle.
 
OK I got the door to open with the button fine, now i need it to stay open then close when i press the button again. I now understand the useage of input output but i cant et it to work so that when i press the button again it closes.
 
You might want to use func_door in case you didn't want the door to be a rotating one. Just depends on watcha want.
 
yeah, sorry; a func_rotating spins constantly, so you'll want func_door
 
ok I know, but still how do i get the button to close the door after I have already got the button to open it? I want the same button that opens it to close it????
 
Back
Top