Else with a Sub-Event

This forum is currently in read-only mode.
From the Asset Store
Very simple code without excess options (15 events for server and 11 events for client)
  • I'm having trouble with the else statement. If I add a sub-event after an else, the entire else never even triggers.

    Else Statement cap

    In this example, click the "try else" button and you'll get a message box saying "Positive!". Click the "swap" button" to change the text field to -1 and click the "try else" button and nothing will happen.

    But toggle event number 5 in the event sheet editor and run the cap. Now if you Click the "swap" button" to change the text field to -1 and click the "try else", you get a message box saying "Negative!"

    It seems like adding a sub-event to an else event prevents the entire else event from triggering. Even the actions before the sub-event.

    Am I doing something wrong here?

    Thanks for any help!

  • I'm pretty sure this is a bug. You should submit it to the tracker.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm pretty sure this is a bug. You should submit it to the tracker.

    I reported it.

    In the mean time I can work around it by calling a function from the else even with the event that I previously had in the sub-event.

    Thanks for looking at it.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)