Osiris/API/ItemSetOriginalOwner

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)
  • call ItemSetOriginalOwner((ITEMGUID)_Item, (CHARACTERGUID)_NewOwner)
Description

Changes the Original Owner of the item. This is the 'legitimate' owner of an object, and if the Owner does not match this value, it is considered stolen.

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