Hi Everyone!
So i'm working on a little Game and here's the situation:
I'm having a Variable that if turned on initiates a Wait Action of three Seconds. If the three Seconds are up, another Action should happen but if the Player reacts DURING the three Seconds, again, another Action will happen.
I kinda got it working with Subevents, but the Problem is, when i take the Action, the Game will still wait until the three Seconds are up to change my Animation Frame etc.
Maybe to make things clearer: the Game is about a Guy trying to sleep but being tormented by a Mosquito. You only hear it in the Dark and if it sits on your Nose and you don't react quickly enough, you get stung. So the player has to turn on the Light in Time Everything works great so far, except the Timing bit, where you have to turn on the Light during the short Timeframe that the Insect is on Contact with you.
So the Event basically sais: if the Mosquito Variable is onNose, the System is to Wait for three Seconds. If the Player switches the Light "On", the winning Animation is played and the Layout restarts. If the Player doesn't react, the losing Frame is set and the Night Layer is disabled and the Lightswitch is turned on. You then see the Losing frame for three Seconds and the Layout restarts... Hope that makes kinda Sense :S
Thanks for your help