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"

How to set a bool to false after an Animation has been completed

Hello, I'm a newbie to Unreal Engine 4 and I've been having some troubles with the communication between my character's blueprint and its animation blueprint.

One of the character's animation is set on the animation blueprint that gets called through a Boolean variable. Inside the character's blueprint I set the bool to true with a button press (InputAction), but this way the animation keeps repeating itself indefinitely. I tried to set the bool to false when the button is released, but I don't want the player to hold down the button for the animation to play, it should play only one time once pressed.

I feel kinda lost because I searched the answerhub for a possible solution but I didn't find anything.

Here's a screenshot of the character blueprint: alt text

Product Version: UE 4.15
more ▼

asked Aug 26 '17 at 09:29 AM in Blueprint Scripting

avatar image

5 1 3 4

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

1 answer: sort voted first

The Timeline has an output pin called Finished (an execution signal when playback ends). You can set your boolean there.

more ▼

answered Aug 26 '17 at 09:52 AM

avatar image

48 1 5 9

avatar image DigitalGreenTea Aug 26 '17 at 10:07 AM

That worked, thank you!

(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