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"

start blueprint animation by pressing a key

Hi, i´m new to the Unreal Engine and this is really a noob question i guess, but anyway: How can i start a blueprint animation by a key event?

I have a simple test skeleton mesh imported, created a blueprint animation for it and set a notifier in the imported mesh animation that i want to trigger another event with.

Now i want this animation to play once and trigger the other event after it´s played. It should only play once and only when the key is pressed.

I thought it´s simple but somehow can´t get it to work. Can someone help me out?

Product Version: UE 4.11 Preview
Tags:
more ▼

asked Mar 31 '16 at 10:58 AM in Blueprint Scripting

avatar image

t-g
1 1 2 1

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

2 answers: sort voted first

This one might help https://docs.unrealengine.com/latest/INT/BlueprintAPI/Components/SkeletalMesh/PlayAnimation/index.html

If you have a feeling something should exist, but you just cant find it, its good idea to turn off context sensitive on right click, type some keyword, like animation, and read every single function which it would found, this practice would speed up your familiarity with engine

more ▼

answered Mar 31 '16 at 11:50 AM

avatar image

CriErr
1.2k 57 21 57

avatar image t-g Mar 31 '16 at 12:51 PM

Thank you for your answer. I already tried the play animation node. It only let´s me play an animation sequence or an animation montage and it is not firing the notifier.

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

alt text The only way i found to tell the animation blueprint to start playing is to set the animation mode for the skeletal mesh to use anim bp instead of animation asset. Once the animation is finished i set it back to animation asset so it can be started again that way.

Is that really the only way to do it?

start_anim_bp.jpg (73.7 kB)
more ▼

answered Apr 04 '16 at 11:42 PM

avatar image

t-g
1 1 2 1

(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