PDA

View Full Version : Disable door?



AlphaBoT
30 Jun 2009, 06:35pm
Is there somehow you can disable a door? Like disabling it from people being able to press "e" on it. I want it to be able to open via button only.

SpikedRocker
30 Jun 2009, 06:53pm
Yes you can set the door up to be only opened by buttons.

http://developer.valvesoftware.com/wiki/Door_creation

That should help you a bit.

Toxin
30 Jun 2009, 07:30pm
What Spiked said.

Just go to Flags and make sure "Open on Touch" and "Open on use" are disabled.

Svendy
1 Jul 2009, 02:25am
i think you have to start out by locking it and then add the button outputs, at least thats how i do it:
onpressed - door - unlock - None - 0
onpressed - door - open - None - 0

SpikedRocker
1 Jul 2009, 04:25pm
i think you have to start out by locking it and then add the button outputs, at least thats how i do it:
onpressed - door - unlock - None - 0
onpressed - door - open - None - 0

If you uncheck the flag Use to open you should not need to unlocked cause the door would just open by pushing the button.