Why is subevent not working properly

0 favourites
  • 2 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • I got a simple check to global variable, if the value is what I want, then something happens. like this:

    But then underneath it, I want to check if a button is pressed, its gonna check another global variable, and based on that it will do soemthing else. But this doesn't work at all. Seems like the check on the subevent never returns true.

    I've confirmed that the GameState is still 0 when I press the key by doing a debug text like this.

    However, if I change it to somthing like this, it works. The GameState is changed into 1 but event number 17 doesnt work (when GameState = 1 do something)

    Whats wrong with this?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry, I meant that the first picture works just fine. but the next part doesn't seems to work.

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