Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

QTE-Try Please Help!

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

alt text

alt text

alt text

alt text

Thank you guys and girls in advance :)

Product Version: UE 4.14
problemqte_1.png (349.1 kB)
problemqte_2.png (376.1 kB)
problemqte_3.png (379.2 kB)
problemqte_4.png (290.6 kB)
more ▼

asked Jun 11 '17 at 10:51 PM in Blueprint Scripting

avatar image

3 1 3

avatar image kusokuso1 Jun 12 '17 at 02:29 AM

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

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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). alt text

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.

qte.png (314.7 kB)
more ▼

answered Jun 12 '17 at 03:34 AM

avatar image

352 35 36 56

avatar image SaRG GbR Jun 12 '17 at 11:22 AM

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

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.

avatar image kusokuso1 Jun 13 '17 at 04:55 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question