When you have two actions in an if statement, do they happen simultaneously or sequentially?
Example:
IF something THEN
Action 1
Action 2
Else
Action 3
Action 4
End If
Can I have Action 1 unlock and then Action 2 lock?
When you have two actions in an if statement, do they happen simultaneously or sequentially?
Example:
IF something THEN
Action 1
Action 2
Else
Action 3
Action 4
End If
Can I have Action 1 unlock and then Action 2 lock?
Yes.
The IF actions are not in anyway related to the ELSE actions.
They essentially happen simultaneously (the ones in the currently true portion of the if then else endif statement.)
So, if you want to UNLOCK and the LOCK, make sure to add a DELAY to the LOCK action of at least a few seconds.
1 and 2 will run in sequence but only milliseconds without a delay
I wondered if a delay might help, thank you!!