Does RemoveItemIdentifier(IItemIdentifier itemIdentifier, int slotID, int amount, bool drop) also unequip items?

airoll

Member
Hello I'm trying to understand how the new CharacterInventoryBridge works. Specifically, I'm trying to understand if RemoveItemIdentifier will unequip an item in a slot before removing it, or if I need to call UnequipItem before I call RemoveItemIdentifier.

From looking through the code, I can't find where RemoveItemIdentifier unequips the item, so I'm assuming that I need to unequip the item first. However, if that's true, then won't there be a race condition for OnDeath between EquipUnequip (which unequips all items), and OnDeath for CharacterInventoryBridge? Can you please help clarify?
 
Removing the item should unequip it automatically. If I remember correctly it's done through events, the ItemSet or the Unequip ability knows when an item is about to be removed and it gets unequipped.
 
Top