QTE-Try Please Help!
currently I'm trying to create a simple QuickTimeEvent:
Short description on my thoughts:
If I hit F key 10 times in a row, within a specific time span, a Printstring will pop up.
Unfortunatly It won't work... could anyone tell me how to fix this or does anyone has alternative solution?
Thank you guys and girls in advance :)
asked Jun 11 '17 at 10:51 PM in Blueprint Scripting
I'm not clear on how you're calling StartQTE. It's possible it isn't getting called, so since your Gate starts closed it'll never progress unless StartQTE opens it. Your last gate is never open, so you will never get the 10 button press complete thing you were going for.
Also, I don't think you want to be comparing 2 Make Timespans. The Set Timer by Event function takes care of the time for you. It looks like created a variable for each F button press. I'm not sure exactly how you're setting up this QTE, but in general they wouldn't be set up like that I don't think. You should be able to set up just one Integer variable to keep track of button presses (since a button press, in general, is true or false, you don't need a float).
Here's what I did and it works fine on 4.14 (I didn't use gates though. And this isn't the only way to do it).
Basically, you press S to enable the QTE and start the timer.
Then you have 3 seconds to press F 10 times. (Every time F is pressed it increments the Button press variable by 1 if the QTE is enabled.)
If you do, then it says "Good Jerb!", clears the timer, and disables the QTE. If you don't it says "QTE Failed!" and disables the QTE.
Follow this question
Once you sign in you will be able to subscribe for any updates here