how to make a double different condition like
IF ((a=1) and (b=2)) or ((a=2) and (b=1) THEN bla bla bla. how to make it? thanks before
Develop games in your browser. Powerful, performant & highly capable.
sahesadega
You can use something like this:
https://www.dropbox.com/s/k6h7iu16nls7z ... .capx?dl=0
The important bit is in function "AB":
If (A=0 & B=1) show "TRUE", else if (A=1 & B=0) show "TRUE", else show "FALSE"
At runtime click on the A and B values to toggle between 0 and 1
An easier way in just one line:
System-> Compare two values-> ((a=1 & b=2) | (a=2 & b=1)) Equals 1 : bla-bla-bla
& means "and"
| means "or"
1 means "true"
0 means "false"