Jump to content
C4 Forums | Control4

Programming without an AND function


Recommended Posts

Can somebody help debug this very simple script. I attached a screen shot of the script. I want both conditions to be met to execute the action... First is a variable that is a seasonal state (summer vs winter). The second is tied to the state of a button being pushed. I don't see if an AND command exists...

 

c4 project shades.PNG

Link to comment
Share on other sites


On ‎11‎/‎26‎/‎2014 at 8:07 PM, eggzlot said:
3 hours ago, RyanE said:

Drag the second question mark for the if statement (summer) and drop it on top of the first (override) if statement's question mark.

RyanE

 

Oh man, nested functions, do I feel stupid. Thanks Ryan for putting up with us...

 

 

Link to comment
Share on other sites

I think most everyone has had that question at one point or another.

Back when I started at Control4, I had to have the instructor show me how to nest conditionals, I was not dropping it 'on the question mark'...

It's not exactly intuitive for programmers (or non-programmers)...

:)

RyanE

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.