How to make a one way door?

Discussion in 'Mapping Questions & Discussion' started by Simulacron, Dec 4, 2016.

  1. Simulacron

    Simulacron L6: Sharp Member

    Messages:
    305
    Positive Ratings:
    174
    How can I make a one way door? When I put the trigger exactly where the door end I can still walk against the door to open it, but if I move it into the door by 1hu, you can get stuck in it.
    Thanks for your help!
     
    Last edited: Dec 4, 2016
  2. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,621
    Positive Ratings:
    1,709
    first problem: you have "ignore groups" active, ignore groups also ignores the entity part of brush entities. don't use ignore groups when you copy stuff

    second problem: yeah welcome to source. I'm not sure what the definitive answer for that is but you can always make the door blockable by players so they don't get squashed or stuck
     
    • Thanks Thanks x 1
  3. Simulacron

    Simulacron L6: Sharp Member

    Messages:
    305
    Positive Ratings:
    174
    Thanks for the help, I noticed the first problem myself, so I already removed it from the thread.
     
  4. theatreTECHIE

    aa theatreTECHIE Yet another Techie for the net...

    Messages:
    393
    Positive Ratings:
    408
    You can make it by having two triggers, one which sends the output onstarttouchall open, and the other sending onendtouchall close. The open trigger you make what size you want, but don't allow it to extend into the door.

    The close trigger you make sure completely matches the open door trigger, but you also extend it through the door to just past the door so people won't get stuck in the door.

    Illustration:
    IMG_0595.PNG
     
    • Thanks Thanks x 1
  5. Simulacron

    Simulacron L6: Sharp Member

    Messages:
    305
    Positive Ratings:
    174
    This is one of these technics you need to be taught to use them. I would never have come up with such an idea