Just to note this is my first time using Blueprints and State Machines within Unreal so I am sorry if my terminology isn’t what’s generally used.
I’m currently a student with an assignment coming up to set up self-made animations within Unreal Engine 4 using blueprints and state machines. The base we have to cover is an idle, walk and run animation which I have managed to set up correctly and all works well. However, I also wanted to implement another set of idle, walk and run animations that slightly differ to the first set and are toggled through a draw and sheathe animation.
In my mind, this would work through having an input (preferably number 1) set a variable to either true or false which would then command the state machines when setting up the transition rules. Through a lot of trial and error I haven’t been able to get close to this working at all as it seems as though the character blueprint stops communicating with the animation blueprints whenever I try to set up variables, however I don’t have very good knowledge of how to set this up generally. (I have attached an image of my state machine)
The problem here is I am unable to follow tutorials online as most follow a process of having the weapon separate to the character’s rig, however the character I do have has the weapon as part of the rig - so I assume this method will not work. Additionally, the weapon is part of the animation already with the first set of general animations having the weapon sheathed on the back, and the second set of animations having the weapon held in the character’s hand. I don’t necessarily want to recreate all of the animations to have the weapon separate as I am coming close to my deadlines.
I appreciate if this comes across confusing, I am still learning.