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"

How to create an event/notify that will call a function in animation blueprint

I'm having trouble figuring out how to call a function (that I created from a C++ class) before, during, or after a specific animation in my animation state machine (this is all in an animation blueprint).

I can create my C++ function just fine inside my animation blueprint. The problem is, I can't figure out notifies or events within the animation blueprint to call the function during my desired animation state. For example, after my character plays the "climb onto rock ledge" animation, I want to call a function.

Or better yet, 0.1 seconds before my desired animation ends, call the function.

Thanks for any help.

Product Version: UE 4.17
Tags:
more ▼

asked Oct 29 '17 at 04:26 PM in Blueprint Scripting

avatar image

Velo
76 3 8 13

avatar image Velo Oct 29 '17 at 05:28 PM

Of course as soon as I asked this, I found out how to access my custom named event on the transition state. In the Animation Blueprints' "Event Graph", I right clicked and searched for "Anim notify" and as one of the options it brought up the name of the custom event I set on the transition between the animation states I wanted.

From there I could link to the function I wanted to call, with no other input needed.

I still am wondering how one would call a function at a specific time during any given animation though?

At least for now, I got what I wanted working. :)

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

0 answers: sort voted first
Be the first one to answer this question
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