Osiris/API/ItemSetOriginalOwner

From Divinity Engine Wiki
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