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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Blueprints: Wait specificed amount of time before executing.

So I will describe what I am trying todo and if anyone can help me I would appreciate it. So I have a sword swing animation, in the character BP it sends via interface a bool called "didAttack". In the animation BP, didAttack = true sends to the attack animation. That all works well and good. The problem is that I can not figure out how to set didAttack back to false without causing issues on the animation. I tried setting up a timer, but I don't really understand what its asking for as far as arguments and can not get it to work correctly. So if anyone could point me in the right direction on getting the bool to switch either after the animation or how to set up a timer to wait specified about of time I would really appreciate it.

Thanks

Product Version: Not Selected
Tags:
more ▼

asked Mar 30 '14 at 06:38 PM in Blueprint Scripting

avatar image

Sickin
8 1 3 5

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

1 answer: sort voted first

Did you try the Delay node?

more ▼

answered Mar 30 '14 at 06:50 PM

avatar image

DasMatze
402 22 25 39

avatar image Sickin Mar 30 '14 at 07:03 PM

That worked, Thank you. Tried all of the things I could think of time related, did not think of Delay. Thanks again.

avatar image Paul Oliver Mar 30 '14 at 07:03 PM

I believe what you want is the Delay node, as mentioned by DasMatze.

You can see an example of it's use here: https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Timelines/Examples/OpeningDoors/index.html

(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