Jump to content

Home

2 trigger buttons


acewombat

Recommended Posts

Hmm. Do you mean that both two swicthes should be used and only after that the door would open? Or do you mean that there would be two separate switches and using either of them would open the door?

 

For the first case you might check the thread>

 

http://www.lucasforums.com/showthread.php?s=&threadid=73693

 

However, for the second case you just target two triggers for the door, and keep targetnames and targerts same between the func_usables or buttons and the door in question. That only ensures that the func_usables are both indicating that the door is open or closed.

Link to comment
Share on other sites

just make your buttons

 

give them both a target key and a value like "doorrelay1"

 

create the target_counter entity and enter the key targetname with the value of "doorrelay1"

then add the key count with the value "2" where two stands for the 2 trigger signals that will be emitted by the buttons.

Give your target_counter the target key with the value "2bdoor" or something like this

 

And finally give your door the key targetname with the value "2bdoor".

 

 

you then should have a 2button door.

 

 

What im not sure about is, if the count of the target_counter will be reseted to zero. If not, you'll have a one-time-go-through-door unless the door is staying open after being opened the first time.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...