Osiris/API/ItemGetOriginalOwner

From Divinity Engine Wiki
Revision as of 16:12, 19 December 2017 by LarIlya (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • query ItemGetOriginalOwner([in](ITEMGUID)_Item, [in](CHARACTERGUID)_Character)
Description

Returnes the Original Owner of the _Item as _Character. This can be changed through ItemSetOriginalOwner.

Return Values
  • Success/Failure: Fails if the _Item does not exist.
  • _Character: The original owner of the item.
Notes
  • An item is considered stolen if its Owner does not match its Original Owner.
  • If an item is not yet stolen (i.e. its Owner and Original Owner are identical) and that Original Owner dies, the Owner & Original Owner are both cleared.
See Also