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?