How do I get a gun animation to play in FPS template?

Hello All,

Very new to this amazing engine, spent last couple of days going through as many tutorials as I can to try and get an overview of everything.

I have created a new project from Blueprint First Person template (4.2), when I run it and press left mouse button projectile is fired but fire animation is not played. I’m looking at Spawn Projectile blueprint and have found Montage Play node etc but can’t work out what’s wrong.

I’ve searched on here but can’t find anything so hence my, probably dumb, question.

Thanks.

Hey MajorFailure,

It looks like a node got left out of Animation Blueprint’s AnimGraph in this template for 4.2. I’ll be putting in a bug report to get that fixed, but you can add node yourself in meantime. Open HeroFpp_AnimBlueprint in Character folder of Content Browser. Click AnimGraph tab. You’ll see New State Machine node running directly to Final Animation Pose node.

Right click in AnimGraph and type “Slot.” Select Slot ‘(No Slot Name)’. Click on new node and in Settings tab, type “Arms” into Slot Name. Now connect New State Machine node to Arms Slot node, then connect that to Final Animation Pose node.

Now you should see animation play when you fire.

Hope that helps!

That’s fixed it, thanks a lot for quick reply .

Cheers,

Mark