Im trying to unequip the weapon and drop it in the character bag (or maybe drop it on the flood) after a given dialogue (for a quest). Whats the easy way to do that? I figure i could run a script that check the id of what equiped in slot #5 then removeitem referencied or re-use a place weapon in a invisible container etc. (but i dont need to confiscate the gun).. I just hope there's a more easier way to do that.
You'll need to use NVSE. GetEquippedObject returns the base object of the item in a specified slot. I've used UnEquip with this reference successfully.