Osiris/API/ItemGetOwner

From Divinity Engine Wiki
Revision as of 16:07, 19 December 2017 by LarIlya (talk | contribs) (Undo revision 5028 by LarIlya (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query ItemGetOwner([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 owner of the item.
Notes
  • An item's Owner is cleared when that Owner dies.
See Also