How to Use Multiple IF Statements?

Hello guys :)

So what I would like to do is the following:


A = True

B = True

C = True

D = True

E = True


F = True

So basically if 5 conditions are true then the condition F is true.


Now I'm not so sure how to go about that in AS.

At the moment I have 5 buttons and when I click them it will change the value of their respective boolean variable to true.


What I am stuck on is how to set the variable F to true when all other 5 booleans are true.


Thanks guys :)

2 Replies