even if your ai is in a firefight, if they are give a new weapon by _unit addWeaponGlobal _primweapon; then they will stand up to switch it.
of course standing up in a firefight is a dumb way to die.
please save AI from rookie deaths.
let them change their weapon without standing up or changing stance