one bottun for 2 doors

Started by raapulis
23/11/2008 19:32
Page 1 of 1
raapulis23/11/2008 19:32

Hi!
Is it posible to make one button open/close 2 different doors? Maybe with multiple triger?!

colix mapper23/11/2008 20:08

u can open 2 doors IN THE SAME TIME with one button, just give them the same name :) dnu about multiple trigger tbh.

remake23/11/2008 20:15

yes, name both doors with same name and there you go. And you chose what ur gonna use, func_button or trigger_multiple, for both you have to set door(s) name as a target :)

raapulis23/11/2008 20:16(edited 23/11/2008 20:50)

well, i wanted to make door system: that with 1 button door1 opens but door2 closes. dunno if posible :/
hey, just thought something.
If i make button1 to open door1(stay open till next command), then i make button2 toogle both doors (1,2), then it should close first and open second. will give a try :)

edit: made it like this: 2 doors with names: door1, one of doors starts open, made 1 button with target door1, but something didn't went throw :/

edit2: now trying with door1 and door2, but with triggers, and again something isn't working as needed.

well ok, made alternative door system :)

thanks anyway

remake23/11/2008 21:26(edited 23/11/2008 21:27)

mm, yes, u did right. 2 doors with same name, door1 func_button with target set to "door1" and one of them starts open. Should work, but if it still doesn't work, then make a button with target "door1". Make a multi_manager entity and name it to door1. Click smartedit, then "add". Name set to dooropen and value to 0. Then again "add" and write doorclose as a name and value 0. Now make 2 doors, door what will close must be named "doorclose" and door that should open must be with name "dooropen" and at flags, "starts open" must be on and "toggle" must be on for both doors.

Page 1 of 1

Please log in to post replies.