Duck and Cover Forum Index


Use these links, buy stuff from Amazon and help us out, nubs.
Amazon.com | Amazon.ca | Amazon.co.uk | Amazon.de
  Duck and Cover  •  FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in

 Support DAC!
 doors with two switches... View next topic
View previous topic
Post new topicReply to topic
Author Message
Max-Violence
Wandering Hero
Wandering Hero


Joined: 18 Apr 2002
Posts: 1221
Location: In my own personal vault

PostPosted: Tue Aug 15, 2006 3:49 pm Reply with quoteBack to top

I remember running into this problem before when I was making DDch5 (and, possibly, other times as well) but I never found a solution.

The situation is this: I've got a spiffy gate that requires use of a switch to open/close. Well, since this spiffy gate is the main gate into the compound, it would make sense to have two switches -- one on either side of the gate.

The problem is this: Whenever one but not both switches are "on," the gate spasms closed then opened then closed then opened over and over and over.

The solutions I've tried are: Adding an additional Condition to the Open triggers to make sure it only opens if the other switch is off; setting the other switch to on when the first switch is on, adding another Condition to check to see if the gate is already open (I really, really thought that would work), and last but not least, adding a variable to the effect of "if its open, set open to true; if its closed, set open to false" and conditions to check if the variable is true or false.

icon_confused2
View user's profileSend private messageSend e-mailVisit poster's website
requiem_for_a_starfury
Hero of the Wastes
Hero of the Wastes


Joined: 29 Oct 2002
Posts: 1820

PostPosted: Sun Aug 20, 2006 2:27 pm Reply with quoteBack to top

Have the door and both switches all with the same tagname. Set the door to auto open/close. Have one preserved trigger condition always, action lock door.
View user's profileSend private messageSend e-mail
Max-Violence
Wandering Hero
Wandering Hero


Joined: 18 Apr 2002
Posts: 1221
Location: In my own personal vault

PostPosted: Tue Aug 22, 2006 6:10 pm Reply with quoteBack to top

T-Bolt wrote:
Have the door and both switches all with the same tagname. Set the door to auto open/close. Have one preserved trigger condition always, action lock door.


Genius! Many thanks!
View user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topicReply to topic


Jump to:  



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group