I created two sockets for the character - one for the weapon during non-battle action, another one for weapon during the battle.
In animation it looks like this
Also I added blueprint nodes that allows me to display the weapon on default and when I switch to battle stance
By default character has a weapon on his back.
When I fire action to enter the battle mode it spawns weapon in another slot. However the weapon on the back left as is
Also when I switch non-battle mode the weapon left in the hand of the character too.
How to detach weapon from the socket? Or is there should be another approach for weapon switching?