func_door not working

Tex

L1: Registered
Mar 16, 2015
2
0
Hey! :rolleyes:
I'm beginner in mapping and I have ''little'' problem with func_door. Simply, this entity doesn't work.
Here's what I'm doin':
1) Make a block(similar to door)
2) Then I move it ''toEntity''
3) When the ''Object Properties'' dialog brings up, I set class ''func_door''. Then I set ''Move Direction'' to ''-90 0 0'' or select ''up''
4) I compile and run the map. The door is doing nothing, even when I'm touching it. :mellow:

NOTE: If I set flag ''Touch Opens'' it works, but only if I touch it, of course.

Thank you for prospective answers :)

Cya, Tex ;-)
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
Give the door a "Name" in the properties. Then make another larger brush (block) surrounding your door on both sides and turn it into a "trigger_multiple". Go to the Outputs tab and click Add. Enter the following in the fields at the bottom: Output = OnStartTouchAll, Target entities named = the name you gave the door, Input = Open.
Then add another output and do the same except OnEndTouchAll and Close.

Make sure the door has Touch Opens turned off and Toggle turned on.

Whenever someone walks into the trigger_multiple the door will open. When they leave it will close.