Difference between revisions of "Talk:UnequipItem - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Bluedanieru
imported>Bluedanieru
Line 1: Line 1:


== This is bugged? ==
== 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! ~~----
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! --[[User:Bluedanieru|Bluedanieru]] 11:52, 16 February 2012 (EST)

Revision as of 11:52, 16 February 2012

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! --Bluedanieru 11:52, 16 February 2012 (EST)