Industrial elevator

Avatar
PedroDeak
45 Posts
Posted Sep 01, 2013
Hello!
I'm working with one of that yellow industrial elevators, seen behind the scenes, and I want it to come up from the pit bottom to the room where the player is waiting for it. To do this, a button must be pressed. Then, inside the elevator, another button is pressed and the elevator comes back down.

I'm using this button to call the elevator (there are two models: prop_bts/push_button_stand and push_button)
img

And this one to make it go down
img

The question is: how do I make the button call the elevator and how do I make the other button activate it to go down?
I don't have a clue, I've tried adding outputs, but I always get confused.
Thanks in advance!

Advertisement
Registered users don’t see ads! Register now!
Avatar
TeamSpen210
608 Posts
Posted Sep 01, 2013
Replied 44 minutes later
For the buttons, you'll want two invisible-textured func_buttons. I think the arrow button has some movement animations, use the onIn/onOut outputs to make it animate. (Set hold Animation to true on the prop_dynamic, and send it the setAnimation input with the name of the animation.) Make a nodraw pillar with the height the same as the distance you want the elevator to move, and tie it to a func_door. Set the move direction to up, and send it the open input to make it move up. The close input returns it to the original position. Parent the elevator model to the door to make it follow along.
Avatar
Dreey
78 Posts
Posted Sep 02, 2013
Replied 21 hours later
Hey! If you want, you can add me on steam so I can explain this for you more detailed in Portuguese.
Advertisement
Registered users don’t see ads! Register now!
Avatar
PedroDeak
45 Posts
Posted Sep 05, 2013
Replied 2 days later
nice! I'll do it