Door with func_door locks and button? Created 17 years ago2006-12-26 19:28:36 UTC by Cerberus Cerberus

Created 17 years ago2006-12-26 19:28:36 UTC by Cerberus Cerberus

Posted 17 years ago2006-12-26 19:28:36 UTC Post #207605
Hey guys, I'm fairly new to HL, CS, CS:S mapping so this is kinda my first "real" project.. Anyways! :nuts:

I'm trying to make a different kind of RP-prison cell. The room is pritty small, and it has a func_physbox door which is held in place by four brushes (The locks). Now.. I want to add a button that makes it so that when it's pressed it'll move these locks (Which is btw, func_door : Door_Lock_01 - 04, two inside and two outside). to the sides, so that the door may be pushed away, thereby, allowing the cop(s) to remove or insert the prisoner. Only thing is, I can't understand how I can make multiple func_door entitys slide to the sides with one button.

Any ideas? :confused:

PS; Pics will be up as soon as I get them hosted, map to!
PPS; It's got a secret fake wall. (Not much of a secret, try running around in the room!). Heh. :biggrin:
Posted 17 years ago2006-12-26 19:42:08 UTC Post #207606
Just add an output to the func_button for each lock.

With the func_button properties dialog open, click the Outputs tab, click Add, fill in the info for the first lock; click Add again, fill in the info for the second lock.. you get the idea.
Posted 17 years ago2006-12-26 19:55:42 UTC Post #207609
Hmm, didn't work. I'm probably doing something wrong!

The button has 4 outputs now, each one has a lock targeted, and it's set to "Open" and "Only once : No". Are there any flags I should check inside the locks or something to make it work?
Posted 17 years ago2006-12-26 20:24:24 UTC Post #207613
Nevermind! I figured it out, I didn't put it to "OnPressed". Doh! :P
Posted 17 years ago2006-12-27 12:28:29 UTC Post #207693
Good for you to continue pressing on (pun intended) when something didn't work. The best way to avoid mistakes is with experience. The best experience comes from making mistakes. ;)
You must be logged in to post a response.