let me see if I am on the right track.
First I created a class PlayerAnimations from UAnimInstance
Then I reparented my AnimationBlueprint to the newly created PlayerAnimations class
In my Event Graph in ABP and Transition Rules I am using the boolean variable created in the PlayerAnimations class
The goal at this point then is to change the player animation from Standing_Idle to Rifle_Idle, by turning my IsRifleCombatMode boolean to true (when rifle is equipped from back to hands).
Video here is from when I was just using Blueprints for the variable to flip between true and false to change the idle states (and in turn the unequipped and equipped blendspaces)
My PlayerCharacter class is calling a method in new PlayerAnimations class
Problem at the moment is either of the two methods I have tried to set the boolean variable, (both methods in screenshot above) I am getting an Exception_Access_Violation.
I just want to be able to set the variable to true or false depending on player input. What am I missing to play around with the state of this variable, or rather whats the best way to set the variable in code at this point?