Osiris/API/ItemSetOriginalOwner

From Divinity Engine Wiki
Revision as of 17:02, 19 December 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * call '''ItemSetOriginalOwner'''(''(ITEMGUID)'''''_Item''', ''(CHARACTERGUID)'''''_NewOwner''') ===== Description ===== Changes the Original Ow...")
(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
  • If a character dies and they are the Original Owner of an item, the Original Owner of that item is cleared.
See Also