func_door not working

Discussion in 'Mapping Questions & Discussion' started by Tex, Mar 16, 2015.

  1. Tex

    Tex L1: Registered

    Messages:
    2
    Positive Ratings:
    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 ;-)
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,532
    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.
     
    • Thanks Thanks x 1
  3. Tex

    Tex L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Yeah! It works! Thank you, mate :) It really helped me ;)

    Cya, Tex ;-)