How do I activate one switch only when two other switches are both in an on state?

   781   2   0
User Avatar
Member
109 posts
Joined: March 2017
Offline
I have a few switches that are tied to parameters (toggle) and I need to turn one of them on ONLY when the two others are in an on state.

Do I do that through a wrangle and if so what would that look like, or is there a simpler way. Sorry if this is stupid simple.

Thanks.
User Avatar
Member
8551 posts
Joined: July 2007
Offline
hscript expression on the third switch's input parm should work

ch("../switch1/input") && ch("../switch2/input")
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
109 posts
Joined: March 2017
Offline
Thanks! That really was simpler than I thought. Cheers!
  • Quick Links