Switch third person character animation based on button pressed UE4

I followed a video series about making the Fortnite Building system in Unreal Engine 4, but now that I finished there are some things that I want to add on to the game.

I am trying to switch the third person character animation when I press the q button so that it switches to the animation that is holding a gun. I have the part for shooting the weapon and all that stuff, I just need to make the original character animation switch to the gun animation. If this seems a little bit confusing, email me at jaredmiller219@gmail.com.

I am not really good at wording things so this might seem not written correctly. I am only in the tenth grade. Here is a pic of what I think it should look like, but I don’t know if it is correct.

Keep in mind that I have other things on here too, so I don’t just have this as the code. If you want to collaborate with me on the project then email me.

Also, If you want to watch the series that I did, here is the link: Fortnite's Building System in Unreal Engine 4 (TEASER) - YouTube

apparently, I can’t add my zip file of the project because it’s too big, so definitely email me to help.

can someone answer

Well, you need to work in the animation bp, add a condition in AnimGraph that will change it to holding gun and from the Q press change that condition to true. If I could I would drop few animation tutorials for this but UE deleted them for some reason so just look for some on youtube I am sure you will find how to work with AnimGraph from there.

Question: How? I know I have to do this but, what do I have to do, can you walk me through the steps.
Email me Jaredmiller219@gmail.com

No can do its a really lengthy process and you can do it on your own, here I found the UE4 official tutorial for this he starts talking about animation in episode 8 and working on them in 10 but I suggest to watch all of it from the beginning, good luck.
Tutorial

I did already, I found some things online but don’t understand them. I am trying to (Cast (I think)) the new animation to the third person character and only switch between the no weapon animation and the holding weapon animation when a button is pressed.

Do the cast drag the Boolean that you made for your animation and change it to true on button press, if you did the AnimGraph correctly it will immateriality change the animation to what you want.

I just created a new thing and this seems to work, but the weapon doesn’t show up in the character’s hand

I have done what I think, but the character doesn’t have the weapon in his hand.

You not following the tutorials eh, well never mind if it works… Does your character animation have a build-in weapon(usually never happens)? Because if not you need to add a skeleton mesh of the weapon and attach it to a socket of your character hand.

No, and I did.
also, how do I make the key pressed thing go in reverse, meaning, if I press it again, it will go back to the other animation
here is a pic of the skeleton mesh!
[Image][1]
[1]:

You need to use AnimGraph for this or duplicate the animation and reverse pretty sure you can do it but again better that you work with AnimGraph.

How would I do this in the AnimGraph? What would it look like

How do I do this?

how do I make the key pressed thing go in reverse, meaning, if I press it again, it will go back to the other animation here is a pic of the blueprint script

here is the skeletal mesh animation
294341-
]

In the tutorial: Tutorial from 8 to 10 episodes he talks about AnimGraph there you will see run speed in the animation set it to -1 and you get what you want.