Walk cycle switch

I’m making a third person game. I have animation controls with 6 animations on my character. Idle, walk forward, walk backward, turn left, turn right, and jump. I also have 6 more animations for when a gun is equipped. How do I do logic bricks to switch to the 6, animations setup for gun, when i push button to equip gun?

use a property that define the state.

example:
property player_action and gun_equipped
when you move you set player action, when you use a gun set gun_equipped

then property bricks to handle actions according to the property.
property - > gun_equipped (true)- and - action walk with gun
property - > player_action (walking) /

Thank you very much for your help.