I looked at the other posts on button doors but none of them are quite
like mine. Basically the CS map I'm making, I decided to include
like a trick door. I figured out how to get a button to open it
but I can't get it to close. I want it to stay open until you
press the button again, not just delay and close like it defaultly
does. I suspect its the output I'm using or something to do with
that. This is what it looks like:
OnPressed | bookshelf | Open | - | 0.0 | No
OnPressed | bookshelf | Close | - | 0.0 | No
How should I set this up? Btw it rotates, doesnt slide if that matters.
1
Re: Trouble with my secret door
Posted by Ragnarocker on Thu Jan 27th at 2:02am 2005

Ragnarocker
member
42 posts
4 snarkmarks
Registered: Jan 24th 2005
Location: USA
Occupation: student
Posted by Ragnarocker on Thu Jan 27th at 2:02am 2005
Ragnarocker
member
42 posts
4 snarkmarks
Registered: Jan 24th 2005
Location: USA

Occupation: student
Re: Trouble with my secret door
Posted by Rof on Thu Jan 27th at 2:12am 2005
Posted by Rof on Thu Jan 27th at 2:12am 2005
Check the func_button's "toggle" spawnflag. Then instead of" OnPressed"
for the outputs, make the first one "OnIn" and the second one "OnOut".
[addsig]
[addsig]
Re: Trouble with my secret door
Posted by Bobv on Thu Jan 27th at 2:38am 2005
Posted by Bobv on Thu Jan 27th at 2:38am 2005
what i would do is simply check Toggle for door and then for button
OnPress > Door > Toggle
OnPress > Door > Toggle
Re: Trouble with my secret door
Posted by Ragnarocker on Thu Jan 27th at 3:32am 2005

Ragnarocker
member
42 posts
4 snarkmarks
Registered: Jan 24th 2005
Location: USA
Occupation: student
Posted by Ragnarocker on Thu Jan 27th at 3:32am 2005
Thanks Bob, that worked perfect.
Ragnarocker
member
42 posts
4 snarkmarks
Registered: Jan 24th 2005
Location: USA

Occupation: student
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0241 seconds.

Snarkpit v6.1.0 created this page in 0.0241 seconds.

