Unequip and Re-equip Weapons via Scripting

Post » Sat Jan 26, 2013 12:41 pm

Hey. I'm trying to make a mod in which I would need to unequip all equipped weapons (weapons only) from the actor within the duration of a MagicEffect. After the MagicEffect has expired, the unequipped weapons should be re-equipped to the actor. Is this possible in the CK? Two functions I've seen were UnequipItemSlot and EquipItem. Although I'm not at all sure as to how to make this work with weapons. (i.e., getting the reference for the weapon) Any information would help! I'm even open to alternative solutions.
User avatar
Eddie Howe
 
Posts: 3448
Joined: Sat Jun 30, 2007 6:06 am

Return to V - Skyrim