# Attack animations messing up

**URL:** <https://forums.unrealengine.com/t/attack-animations-messing-up/69100>\
**Category:** Character & Animation\
**Tags:** unreal-engine\
**Created:** [July 15, 2016, 6:21pm UTC](https://forums.unrealengine.com/t/attack-animations-messing-up/69100 "2016-07-15T18:21:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob.S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jacob.S](https://forums.unrealengine.com/u/Jacob.S)\
**Post date:** [July 15, 2016, 6:21pm UTC](https://forums.unrealengine.com/t/attack-animations-messing-up/69100/1 "2016-07-15T18:21:32Z")

</div>

So I was following a tutorial by \*\*Moize Opel \*\*which is this series ([UE4 Blueprint Tutorial 05 - Melee Combat (3/6) - YouTube](https://www.youtube.com/watch?v=4ramg9HsJKk)) and after about 10 minutes to where you can actually start attacking with left mouse button, whenever I switch to my greatsword and attack right after the attack the animation that sheaths a sword and draws the great sword plays even though I already have the greatsword out. I’ve been non-stop looking for the issue myself and I cant seem to find anything that can help. I know for a fact its because I’m using the latest version but I don’t know what I need to change to prevent this animation from playing. I’ll post pictures below of all of my stuff to see if you guys find it before I can.

Images:  
[spoiler]

 ![a40ccd8768d334968194faa4013807893d159a6e.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/0/a40ccd8768d334968194faa4013807893d159a6e.jpeg)  
 ![8c8e30896d99cc0cfd35adac327281d062befa7b.jpeg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/8/8c8e30896d99cc0cfd35adac327281d062befa7b.jpeg)  
 ![1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/0/a40ccd8768d334968194faa4013807893d159a6e.jpeg)  
 ![4.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/1/6/16f80c01bc1a191237a51d0802bd6acaf779d5b2.png)  
 ![5.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/6/26d517b7d34f650660a8e1eb3563a96fb6573905.png)  
 ![2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/8/8c8e30896d99cc0cfd35adac327281d062befa7b.jpeg)  
[/spoiler]

Video Example:  
[spoiler]  
[video][- YouTube](https://youtu.be/nyvxThmIwLE%5B/video%5D)  
[/spoiler]

---

<div class="post-metadata">

**Author:** ![MrWilson13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrWilson13](https://forums.unrealengine.com/u/MrWilson13)\
**Post date:** [July 15, 2016, 7:38pm UTC](https://forums.unrealengine.com/t/attack-animations-messing-up/69100/2 "2016-07-15T19:38:54Z")

</div>

Just beginning to get back into the animation and I’m pretty sure your missing the “do once” when switching the weapon so it doesnt keep doing the equip animation. Correct me if i’m wrong though. Place it at the end of the Boolen “Switch mode”

---

<div class="post-metadata">

**Author:** ![Jacob.S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jacob.S](https://forums.unrealengine.com/u/Jacob.S)\
**Post date:** [July 15, 2016, 9:13pm UTC](https://forums.unrealengine.com/t/attack-animations-messing-up/69100/3 "2016-07-15T21:13:59Z")

</div>

Nope I tried already that’s not the issue. I feel the issue is with the attack function because it plays the anim after I attack no matter what but thxs

---

<div class="post-metadata">

**Author:** ![MrWilson13](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrWilson13](https://forums.unrealengine.com/u/MrWilson13)\
**Post date:** [July 15, 2016, 9:38pm UTC](https://forums.unrealengine.com/t/attack-animations-messing-up/69100/4 "2016-07-15T21:38:57Z")

</div>

Ah I havent touched montage yet! maybe the issue lies in there. So after the attack it goes back to the beginning of the montage and replays that animation. Again not sure on this but maybe you need to set it up so it skips the first section of a montage when the weapon is already out.

Anyway good luck! If i come up with anything I’ll let you know. Messing with all the animations this week.

---

<div class="post-metadata">

**Author:** ![Jacob.S](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jacob.S](https://forums.unrealengine.com/u/Jacob.S)\
**Post date:** [July 15, 2016, 9:51pm UTC](https://forums.unrealengine.com/t/attack-animations-messing-up/69100/5 "2016-07-15T21:51:34Z")

</div>

I’ve thought that maybe since my Locomotion goes from one hand run to great sword run that when I reset the combos and goes back to the “one-hand stance” it resets my locomotion so it can go into a two-handed stance, but I’ve also created a set of montages for when my great sword is out that it uses those instead and it works but the animation is still being played so I’m thinking its the Locomotion in my animation blueprint but I’m not very experienced with unreal so I’m not sure where to start to test it.
