Jump to content

script: unequipitemslot & inv armor locked


Recommended Posts

====== SOLVED =======

 

I made a script that unequip a companion slot at a specific line dialogue (using the UnEquipItemSlot() function).

 

Everything works great the first time but when, in game, a equip back this item to my companion, it's now marked as "Locked" in the inventory and the script won't unequip the item anymore.

 

Any suggestions on where to look?

 

added: How this inventory "Locked" feature actually works?

 

=================================

 

I found a work around, instead of using UnequipItemSlot, I used:

 

Actor:WornItem wornItem= akSpeaker.GetWornItem(slotNumber)
akSpeaker.UnequipItem(wornItem.Item)
This work without the inventory item beeing locked after the unequip.
Edited by F4ll0uta
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...