From Divinity Engine Wiki
Jump to: navigation, search
Full Definition(s)
  • query ItemGetOwner([in](ITEMGUID)_Item, [in](CHARACTERGUID)_Character)

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 owner of the item.
  • An item's Owner is cleared when that Owner dies.
See Also