# Multiple Aim Offsets in Animgraph

**URL:** <https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189>\
**Category:** Character & Animation\
**Tags:** unreal-engine, blend, question\
**Created:** [March 4, 2015, 6:13pm UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189 "2015-03-04T18:13:03Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![visoutre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@visoutre](https://forums.unrealengine.com/u/visoutre)\
**Post date:** [March 4, 2015, 6:13pm UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/1 "2015-03-04T18:13:03Z")

</div>

I can get 1 aim offset working, but I want to use aim offsets for each type of weapon (rifle/revolver/machinegun) and one for the flashlight. They should only be activated when in the weapon stance which I have set as a bool in character blueprint and also an enum which sets up the animation to play in the State Machine. So I need to figure out how turn off an aim offset blend when it’s not needed. It seems adding a second one conflicts with the aim of the first one and I have not tried more than 2 yet.

Is there a bool for animgraph? Should separate floats be used for each aim? How would this be accomplished? I uploaded some screenshots of what I have (some nodes are disconnected cause they interfere, but flashlight is working by itself).

---

<div class="post-metadata">

**Author:** ![visoutre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@visoutre](https://forums.unrealengine.com/u/visoutre)\
**Post date:** [March 6, 2015, 3:41am UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/2 "2015-03-06T03:41:44Z")

</div>

I solved the problem by switching the different aim offsets with an enum for each stance. Personally I didn’t need the Yaw except for flashlight animation.

Here is the solution for those interested. Now you can have as many aim offsets as you want and they will not interfere. I just have multiple rifle aims cause I havent made the animations for other weapons yet.

 ![32615-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/4/b8456ded974797eb004117ef620cda74ab044eb6.jpeg)

---

<div class="post-metadata">

**Author:** ![RickRickerson](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RickRickerson](https://forums.unrealengine.com/u/RickRickerson)\
**Post date:** [March 6, 2015, 4:59pm UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/3 "2015-03-06T16:59:40Z")

</div>

Nice. Thanks for sharing your solution.

---

<div class="post-metadata">

**Author:** ![nkey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nkey](https://forums.unrealengine.com/u/nkey)\
**Post date:** [May 10, 2015, 5:36am UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/4 "2015-05-10T05:36:31Z")

</div>

One more example.

 ![42078-2aimoffset.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/1/b/a1bf8522547f4eadac897cefc764fea6bc348c20.png)

---

<div class="post-metadata">

**Author:** ![AlphaHemi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AlphaHemi](https://forums.unrealengine.com/u/AlphaHemi)\
**Post date:** [June 21, 2015, 1:47pm UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/5 "2015-06-21T13:47:49Z")

</div>

Would you know of a tutorial about how to set something like this up or could you create a sample template to show how to do this, I am very new and can’t find anything about having an unarmed and different armed states. just a example of unarmed, rifle and pistol or something would be amazingly helpful. I know I’m asking a lot but It’s the only way I can learn.

---

<div class="post-metadata">

**Author:** ![volkmedia](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@volkmedia](https://forums.unrealengine.com/u/volkmedia)\
**Post date:** [November 11, 2015, 1:30am UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/6 "2015-11-11T01:30:25Z")

</div>

I like the second example. nice an clean. Going to need more bools for other weapons. Thanks for sharing.

---

<div class="post-metadata">

**Author:** ![stabbedbyapanda](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@stabbedbyapanda](https://forums.unrealengine.com/u/stabbedbyapanda)\
**Post date:** [May 8, 2018, 6:02am UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/8 "2018-05-08T06:02:52Z")

</div>

This one did not work for me for some reason, nkey possibly showing the event graph as well, thought im pretty sure i have it setup since my first aim offset works.

---

<div class="post-metadata">

**Author:** ![mrwrong138](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mrwrong138](https://forums.unrealengine.com/u/mrwrong138)\
**Post date:** [December 4, 2018, 4:07am UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/9 "2018-12-04T04:07:36Z")

</div>

IT WORKED!!!

---

<div class="post-metadata">

**Author:** ![Slayeer3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slayeer3/32/88715_2.png) [@Slayeer3](https://forums.unrealengine.com/u/Slayeer3)\
**Post date:** [February 15, 2022, 4:21am UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/10 "2022-02-15T04:21:02Z")

</div>

i know this is probably an old post but i cant see the picture any chance you can post it again?

---

<div class="post-metadata">

**Author:** ![visoutre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@visoutre](https://forums.unrealengine.com/u/visoutre)\
**Post date:** [February 15, 2022, 7:00am UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/11 "2022-02-15T07:00:09Z")

</div>

Whoa this is an ancient post. I asked this Q on Epic Game’s old answers webpage, so the image is unfortunately gone. I still have my project and I was able to look at my AnimBP, but I forgot the context of this question.

Here’s an image of the ENUM I was using with the different weapon states independent of one another. Is this helpful or more confusing?

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/4/d94f540683e72a7fa567890cb8a8a56cba4f1c62.jpeg)

---

<div class="post-metadata">

**Author:** ![Slayeer3](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/slayeer3/32/88715_2.png) [@Slayeer3](https://forums.unrealengine.com/u/Slayeer3)\
**Post date:** [February 15, 2022, 1:36pm UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/12 "2022-02-15T13:36:46Z")

</div>

Sweet thanks I ended up just duplicating the blueprint and changing the anim class on button change but this should be helpful later

---

<div class="post-metadata">

**Author:** ![rabbitblue](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rabbitblue/32/1216549_2.png) [@rabbitblue](https://forums.unrealengine.com/u/rabbitblue)\
**Post date:** [March 9, 2024, 4:11pm UTC](https://forums.unrealengine.com/t/multiple-aim-offsets-in-animgraph/309189/13 "2024-03-09T16:11:55Z")

</div>

can you explain us how to do el Blend poses enum? bro!
