 
                                
                    
                        Re: Trouble with my secret door
                        Posted by Ragnarocker on 
    Thu Jan 27th 2005 at 2:02am
                     
                    
                 
                
            
            
                
    
            42 posts
        4 snarkmarks
        Registered: 
    Jan 24th 2005
                    Occupation: student
                            Location: USA
             
                
                        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.
                                    
             
        
            
            
                                     
                                
                    
                        Re: Trouble with my secret door
                        Posted by Rof on 
    Thu Jan 27th 2005 at 2:12am
                     
                    
                 
                
            
            
                
    
                    
                             Rof
                            Rof
            
                        member
     
            210 posts
        41 snarkmarks
        Registered: 
    Dec 3rd 2004
                     
                
                        Check the func_button's "toggle" spawnflag. Then instead of" OnPressed"
for the outputs, make the first one "OnIn" and the second one "OnOut".
                                    
             
        
            
            
                                     
                                
                    
                        Re: Trouble with my secret door
                        Posted by Bobv on 
    Thu Jan 27th 2005 at 2:38am
                     
                    
                 
                
            
            
                
    
                    
                             Bobv
                            Bobv
            
                        member
     
            198 posts
        40 snarkmarks
        Registered: 
    Jan 9th 2005
                    Occupation: n/a
                            Location: USA
             
                
                        what i would do is simply check Toggle for door and then for button
OnPress > Door > Toggle
                                    
             
        
            
            
                                     
                                
                    
                        Re: Trouble with my secret door
                        Posted by Ragnarocker on 
    Thu Jan 27th 2005 at 3:32am
                     
                    
                 
                
            
            
                
    
            42 posts
        4 snarkmarks
        Registered: 
    Jan 24th 2005
                    Occupation: student
                            Location: USA
             
                
                        Thanks Bob, that worked perfect.