Jump to content

Moving items from player to a container


mg79

Recommended Posts

I'm looking for a way to transfer items from the player to a container via script, retaining health percentage. In NV RemoveItem accepts a destination container so it's easy, but in FO3? I was thinking about GetInventoryObject + EquipItem + GetEquippedCurrentHealth + AddItemHealthPercent to container + RemoveItem from player, but is there a less clunky way? Thanks

Related to this, is there a way to get the ref for a specific object in the inventory, and not the base form (through GetInventoryObject), then add it to a container?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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