QUOTE (ImHiPotion @ Jun 14 2012, 12:47 PM)
I just tried your method however whenever I press "C" it breaks free instead of having to tap it 10 times.
Actually, the "C Button is being pressed" condition is looping over and over again so it's just going 10 times over. So we need to get a condition that detects the moment that the C button is pressed. Try this:
Conditional Branch: Script: Input.trigger?(Input::C)
@> \\blah blah blah
So, just input that script in there as a condition instead of "C Button Being Pressed".
Also as soon as you break free it attacks you again, however I presume this can be solved by a simple move route.
Yeah I wasn't sure about this. Do you want it to move away, or be deleted? If so, you can just put the movement route in the "Zombie" event, something like "Blood Animation", "Move Away From Player", "Wait: 30 sec".
The reason I put it in 10 times is so it acts individually so that when you press "C" it moves onto the next one until you press "C" or let the time run out.
Ah but do you see that the common event is a loop? So the first time it looped through, it checked whether the "C" button was being pressed 10 times. It wasn't, so it waited for 240 seconds. Then it checked whether the variable == 10. It wasn't, so it Game Over'd you. So you don't need "C" button condition 10 times, because the whole common event loops anyway (because it's a parallel process).