Condition Check How exactly?

How does gdevelop check conditions? Does it check every condition in a single event even if the first condition is wrong? Or does it check from above to below and if one is wrong, it stops checking the bottom ones for this frame? I know it does that with nested events.

From what I understand, if there are a number of conditions in an event, GDevelop goes through them from top to bottom. If one of them fails or is false (and as long as it’s not in an OR statement), then it stops with the event and moves to the next one.

If you have a set of conditions, in most cases it’s best to order them so the least likely to occur condition, or the one to reduce the number of objects selected the most, is at the top of the conditions list.

2 Likes