"If" and "Otherwise IF", noob question.

joeygu

  • Posts: 9
Hi

Please check:

IF A = True
    Do task 1
Otherwise If B = True
    Do task 2
Otherwise If C = True
    Do task 3
Otherwise If D = True
    Do task 4

When A = True, it will do task 1 and that's the end.

But when A = False and B,C,D are all true, what would happen?
Would task 2, 3, 4 all be executed, or just do task 2 and end?


Luyren

  • *
  • Posts: 2815
The first condition met will happen, which is B, and the rest is ignored.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.