Osiris/API/ItemGetOwner
From Divinity Engine Wiki
Full Definition(s)
- query ItemGetOriginalOwner([in](ITEMGUID)_Item, [in](CHARACTERGUID)_Character)
Description
Returnes the Owner of the _Item as _Character, which is the last character to have the item in their inventory. This can be overridden through ItemSetOwner.
Return Values
- Success/Failure: Fails if the _Item does not exist.
- _Character: The original owner of the item.