A question about buttons

Avatar
Reverend Protocol
20 Posts
Posted Feb 06, 2008
I searched around and couldn't find anything on this, so I though I'd ask.

I'm working on a map, and everything is going quite smoothly. However, I have a large button with a box filter on it that, for reason, always has to be pressed twice before the connected doors will open for the player. Other than that, it works fine.

Any ideas?

Advertisement
Registered users don't see ads! Register now!
Avatar
msleeper
4,095 Posts
Member
Posted Feb 06, 2008
Replied 9 minutes later
What are the I/O settings for the box trigger?
Avatar
Reverend Protocol
20 Posts
Posted Feb 06, 2008
Replied 8 minutes later
The trigger brush for the button just activates the door brush for the button. The door brush unlocks and opens both the left and right door, and that's it.

Trigger:
OnStartTouch ->button_door->Open
OnEndTouch ->button_door->Close

Door:
OnOpen->buttdown->PlaySound
OnOpen->door_right3->Unlock
OnOpen->door_right3->Open
OnOpen->door_left3->Unlock
OnOpen->door_left3->Open
OnClose->buttup->PlaySound

Yes, the doors are meant to stay open.

Avatar
Reverend Protocol
20 Posts
Posted Feb 06, 2008
Replied 1 hour later
Figured it out. For some reason when having those outputs on the door brush it wasn't working. Switched it to the trigger brush and it works fine now. some tutorials out there need rewriting.
Advertisement
Registered users don't see ads! Register now!
Avatar
msleeper
4,095 Posts
Member
Posted Feb 06, 2008
Replied 1 hour later
You should always have I/O's like that on a trigger brush and not on some other entity that may or may not move. What was likley happening was either your door was set to Open by default and therefore didn't trigger the OnOpen Outputs until it was Closed, or you didn't give it enough time to open in the first place.