Osiris/API/ItemGetOwner

From Divinity Engine Wiki
Revision as of 16:06, 19 December 2017 by LarIlya (talk | contribs)
Jump to: navigation, search
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.
See Also