[Help] Blueprint shooting animation won´t work, help me to figure out whats wrong.

Hey Guys, i´ve watched the ue4 third person tutorials, which helped me alot to get into this amazing game dev engine.

Before i start to import some of my own animations and meshes, i´ve downloaded the animationsstarterpack from the marketplace, just to keep it simple.

Want i want to do: That ue4 is playing the shooting animations when i click mouse button left.

It would be great if some of you guys could help me figure out what im doing wrong.

I will explain all steps i did with screenshots, so hopefully it will be easy for you guys to understand what i did wrong.

First Step: Set Inputs for action “Fire/Shooting”

8f3d5486c69809676bbaea3ea4102333990312fa.jpeg

Next step: Set the blueprint input

c53149223ebb1c44138ea242d7735f9c31d857c7.jpeg

After that, i´ve openend the AnimationBlueprint from my character and created a new state (Fire):

7713f4c9a7947cd76be6af6e773be5568645f85a.jpeg

I connected the animation to the final pose inside the Fire State:

8636dc6fca784f519eb428481b1bd6a4698b37e0.jpeg

Than i´ve openend the Idle to Fire button

0db5dcabcbc71787bb8b1101258be238c4ced263.jpeg

and also the Fire to Idle

I´ve compiled and saved everything. but…

my character doesn´t do anything when i hit the mouse button. He walks, he crouches, he jumps, but he won´t play the shooting animation.

What i am doing wrong? Would be awesome if somebody could help, thanks alot guys! :slight_smile:

Hello,
Maybe you forgot to set “is firing” in the event graph of the anim bp (from event blueprint anim : cast to character, drag the “fire button down” and use it to set “is firing” like jumping crouching etc…)

Yes, that was the problem! Thank you! :slight_smile:

1 more question: My char is now shooting, but when i move, the legs don´t play the walking animation. I know that i need to blend the poses, in the 3rd Person Tutorial he created a new source and linked it to the upperbody, since he called his “blueprint” montage upperbody. After that, he created a layered per bone, cached the locomotion and connected everything.

How do i do that now? The shooting animation isn´t a montage. My thought: I do exactly the same like zak did in his tutorial, this means: I create a new montage, take only the shooting animation, call it “shooting” and than just copy everything he did.

I did it, but it doesn´t work. Any suggestion? Thanks alot already! :slight_smile:

Did you watch all of the third person tutorials? They go over blending animations in it. It’s one of the last tutorials, he blends punching into all other animations.

EDIT: Found it: https://www.youtube.com/watch?v=C16vlfe3pXc

Keep time to check step by step if you did everything exactly the same, but not only the parts you made but all the involved parts around too.

I personnally would begin this debugging in the anim bp event graph and see if for example in the tutorial the different conditions are set like mines. (are they merged or separated for example, because maybe in your actual set up when you set “firing” to true, you can’t have “moving” / “running” set to true too, which is maybe your issue.)

Hey, yes. I watched it completely.

I got also a screenshot if this may help:

b0e1c0449dab40a37374352f7725605e4e84321c.jpeg

and

Okay, i´ll try this. Thank you! :slight_smile:

I’m not at my computer right now, but that looks good. The next thing I’m wondering about is where you specify the bone? Does that layered blend need you to specify a bone? How does the animation know it needs to blend from the spine up?

If I wanted to give Punch, Kick, Dodge action
but according followed - YouTube tutorial
there how to give others action

there no bluprint on that