Door only opens and closes once. Created 16 years ago2008-10-02 08:05:40 UTC by 3mil 3mil

Created 16 years ago2008-10-02 08:05:40 UTC by 3mil 3mil

Posted 16 years ago2008-10-02 08:06:18 UTC Post #256485
Title pretty much says it all. I have a door (func_door_rotating), and it only opens and closes once. After that it stays shut, and I can't "use" it any more. I've got delay before close set to 0, reverse direction, toggle and use only ticked under the flags column. Any one know a way around this?
Posted 16 years ago2008-10-02 11:56:10 UTC Post #256494
um im not sure, but i have an idea.

on one side of the door, add a trigger_once or trigger_multiple that triggers the func_door_rotating to open. when the player goes trough it and the door closes, he wont be able to get back again cause the trigger is on the other side. simple
Skals SkalsLevel Designer
Posted 16 years ago2008-10-02 11:56:53 UTC Post #256495
Un-tick Toggle and see what happens.
Daubster DaubsterVault Dweller
Posted 16 years ago2008-10-02 14:10:01 UTC Post #256503
Un-ticked toggle and now the door only opens...and stays open. I'll try your idea Skals, but It's sort of strange because every other door I have ever made didn't need any triggers.
Posted 16 years ago2008-10-02 17:36:43 UTC Post #256516
Delay before close 0 is probably why it stays open. some glitch, I expecy, but Im suprised it opens when its set to 0 instead of instantly closing...
Notewell NotewellGIASFELFEBREHBER
Posted 16 years ago2008-10-02 20:01:56 UTC Post #256519
Yes, having the delay before close 0, is definitely the problem, set it to -1 And keep use only, and toggle on.

The door will stay open when you use it, then you can use the open door again to close it, then you should be able to use it again to open it, once again.

Let me know how that helps you! :D
Posted 16 years ago2008-10-03 02:27:40 UTC Post #256529
at, im not sure if he wanted that. he wants it to open once then c lose right afterwards without being openable again.

3mail, the trick with triggers is that you can do exactly this. if the player triggers the trigger in one side of the room, the door opens and he goes torugh, then the door closes, he wont be able to trigger it again cause the trigger is in the other room :>
Skals SkalsLevel Designer
Posted 16 years ago2008-10-03 02:51:36 UTC Post #256532
skals - if you read what he wants again, i think youll find he doesn't want the door to only open once. he wants the door to open whenever he uses it more than once, and the door only opens once.

The 0 delay before close is likely the problem, as previously said.
Delay before close 0 is probably why it stays open. some glitch, I expecy, but Im suprised it opens when its set to 0 instead of instantly closing...
I always thought delay before close was the time between the door being fully open and the door starting to close?
Jessie JessieTrans Rights <3
Posted 16 years ago2008-10-03 03:33:51 UTC Post #256534
Try setting delay before close to 4 or so.
Daubster DaubsterVault Dweller
Posted 16 years ago2008-10-03 04:57:34 UTC Post #256537
Okay, I got it, thanks for all your input. I set the delay to 1, and reverse direction and toggle are ticked. Now the door stays open and closed when It's used and it can be used over and over again with out getting stuck. Skals, I probably should of specified a little more what I was going for :/ Thanks again every one, I appreciate it. ;)
You must be logged in to post a response.