QTE-Try Please Help!

I may have an easier solution. When do you want the QTE to start?
Like when the player enters a certain trigger or something?

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 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 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.

Glad it works. I wasn’t saying you were wrong, just that I didn’t think you needed some of that stuff for the kind of QTE you were going for.

I live in Japan, but I’m not Japanese. I’m no native, but I think maybe the Japanese you wrote there is good, except for the 「すつと効果のあります」 part. That’s a little strange to me. I don’t think すつと is a word. Maybe you wanted to say 「ずっと」? For like, “way” or “totally”?

If you want to say “it’s way more effective/efficient”? maybe 「ずっと(or はるかに)効果的/効率的です。」 Or 「ずっと効果のある方法」? I don’t know. Regardless, I’m pretty sure any Japanese person here would understand what you’re saying.

Hi all,

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 or does anyone has alternative solution?

Thank you guys and girls in advance :slight_smile:

どうもありがとうとてもたすかりました。本とうに!あなたのプログラム・コードの方がすつと効果のあります。多分、これは正しく書いたでしょうか… :slight_smile:

You were absolutly right with my mistakes, it’s way more efficient to use integer than float. You are right the timespan was indeed more than redundant (and wrong) etc. etc.

Thanks a lot again, it works just fine.