State machines problem

hey guys, i have two state machines (with different animations for different weapons) and i want to be able to change betewen them when i change weapon

, but i have problems, for example:: if I am proned, and change weapon it’s okay, but if i stand and change the weapons again, in the first time the char goes to prone and then stand again changing weapon, how could i solve this problem???

you’ll probably want to create two separate states in your state machine for this case. one state for prone, and one state for standing. (so in your state machine, right click, add new state, and name prone, go back to state machine, right click, add new state, and name standing) then create the transition logic that governs how one state transitions to the other. in each state, you would then include one of your node sequences above.