How to do: If (1 Condition AND 1 Condition) OR (1 Condition AND 1 Condition)
Daniel543M
Member, PRO Posts: 47
Hey guys,
Let's say I have the two numbers 1 & 2.
I am trying to make a rule that will do this:
If ((n1 = 1 AND n2 = 2) OR (n1 = 2 AND n2 = 1))
DO SOMETHING
But I'm not sure how to do it... I'm finding it rather difficult for some reason.
Any help is appreciated
Thanks!
- Daniel
Comments
Gamesalad does not support this. What you would have to do is make two booleans and make a rule: if (n1 = 1 AND n2 = 2) change boolean1 to true and another rule: if (n2 = 1 AND n1 = 2) change boolean2 to true.
Then your rule would be if boolean1 is true or boolean2 is true: do whatever.
Best of Luck
Thanks @zweg25 and @Socks for your suggestions.
I actually ended up finding a different (albeit convoluted) way to do what needed to be done, but thank you guys nonetheless.
Have a good one