x

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"

(Completed!) How can I count the seconds that we keep a key pressed?

I want to make a camera shake like heavy breating if player runs 5 seconds or more. Can you help me with the blueprints?

I've done it! Here is the blueprint; alt text

Product Version: Not Selected
Tags:
run.png (165.1 kB)
more ▼

asked May 07 '14 at 06:18 PM in Blueprint Scripting

avatar image

OnurSahinSenturk
8 1 2 5

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

1 answer: sort voted first

Search for Get Input Key Time Down node in the Library.

more ▼

answered May 07 '14 at 06:25 PM

avatar image

Jacky
16.8k 671 167 677

avatar image OnurSahinSenturk May 07 '14 at 06:40 PM

There is no node called Get Input Key Time Down :(

avatar image Jacky May 07 '14 at 06:43 PM

I'm pretty sure there is.

alt text

get time down.jpg (36.1 kB)
avatar image OnurSahinSenturk May 07 '14 at 07:01 PM

Thank you! I've found it. But I couldn't manage to do what I wanted. Can you help me with the blue print? What other nodes should I use? This is my blue print at the moment.

run.png (100.5 kB)
avatar image Jacky May 07 '14 at 07:11 PM

Well, you'll need to take that time down value and compare it to the value you want. And if the compare(bool) is true, then activate camera shake. I'm not able to set it up for you right now but you can get more help in the forums if you cant manage it yourself.

(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