Jump to content

opening two doors with one activator


skoyv

Recommended Posts

It should work with a simple object script placed on the switch like:

 

scn 2doorSwitch

Begin OnActivate

Activate
Door1.Activate
Door2.Activate

End

 

Door1 and Door2 would need to be renamed to the reference ID of each door. That should allow the switch to toggle the doors open and closed. If you only want it to work once then add a DoOnce function.

 

Or yeah, Q's idea.

 

Hmm... when did codebox text get so dark?

Link to comment
Share on other sites

I think that was when the forums got upgraded. It's kind of annoying having to highlight it.

 

If you wanted to be sure it'd work, you could use playgroup forward 1 and playsound to get it to open anyways.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...