Talk:UnequipItem - Actor

From the CreationKit Wiki
Revision as of 11:51, 16 February 2012 by imported>Bluedanieru (Created page with " == This is bugged? == I am able to consistently wipe out the charge on weapons in the player's inventory with this command. You need a two-handed enchanted weapon and a one-h...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is bugged?

I am able to consistently wipe out the charge on weapons in the player's inventory with this command. You need a two-handed enchanted weapon and a one-handed enchanted weapon or staff. Equip the one-handed weapon first, then the two handed weapon. They should be set up such that you can switch between them in inventory by clicking on the two-hander. If you then call UnequipItem(TwoHandedWeaponRef) on the player, they will unequip the weapon and switch to the one-handed one, only it will have no charge. A subsequent call to EquipItem(TwoHandedWeaponRef) will reequip the two-handed weapon, but surprisingly it will have the charge points that the one-handed weapon had!