prob of triggers : help

Jan 13, 2023

good morning

I would like to be sure how conditional triggers work on ST360

How to reproduce the following expression:

if (A=var1 or B=var 2) and (C=var3 or D=var4)
then do action

since there are no parentheses that allow to properly delimit the conditions in the triggers of ST360, I don't know if what I'm doing is good

here is what i did with the file attached capture.PNG
for me it can also give if (A=var1 or (B =var2 and C=var3) or D=var4
then do action

what is very different of what I means
thank you
1 Reply
Walt Hamilton

You are correct, what you have is not the same as what you want, but since SL doesn’t have parentheses, you can only take what it gives you.

Optionally you can create your own formula:

Set Variable1 to True if A = 1 OR B = 2 when timeline starts, ELSE set Variable1 to False

Set Variable2 to True if C = 3 OR D = 4…

Jump to slide … if Variable1 = True AND Variable2 = True