- Jul 2, 2015
- 197
- 75
There is an elevator that I am building on my map. I know for the button I have to use a func_button, func_door for the metal door and a func_tractrain (perhaps?) for the actual elevator. Here's the setup of what I have so far
The trouble I am having is how to script it so the func_button calls the elevator, and when the elevator reaches the floor the func_door gets triggered and the doors open. It is only a two story elevator so I would need to be able to call it from the bottom floor, the top floor, and have the user able to push the button inside the elevator to take it to the correct floor.
I have done some research, using this and this as a guide but I am still a bit lost.
The trouble I am having is how to script it so the func_button calls the elevator, and when the elevator reaches the floor the func_door gets triggered and the doors open. It is only a two story elevator so I would need to be able to call it from the bottom floor, the top floor, and have the user able to push the button inside the elevator to take it to the correct floor.
I have done some research, using this and this as a guide but I am still a bit lost.