How to use the System 'Wait' action

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • Hello!

    I would be very grateful if you could explain to me why examples below provides different results and how to make Wait action in the example#2 to work like in the example #1

    Thank you in advance for helping!

    Example #1

    Variables:

    x=0

    y=0

    z=0

    Condition:

    System|x=y

    Action:

    System|Add 1 to z

    System|Add 1 to x

    Result:

    x=1

    y=0

    z=1

    ----------------------------------

    Example #2

    Variables:

    x=0

    y=0

    z=0

    Condition:

    System|x=y

    Action:

    System|Add 1 to z

    System|Wait 3 seconds

    System|Add 1 to x

    Result:

    x=180

    y=0

    z=180

    • After hours of experiments I realized that much better to do it using Timer behavior (which I didn't know about before) for objects. Works much more predictable as for beginner.