Osiris/API/ItemSetOwner

From Divinity Engine Wiki
Revision as of 16:36, 19 December 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * call '''ItemSetOwner'''(''(ITEMGUID)'''''_Item''', ''(CHARACTERGUID)'''''_NewOwner''') ===== Description ===== Changes the Owner of the item....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call ItemSetOwner((ITEMGUID)_Item, (CHARACTERGUID)_NewOwner)
Description

Changes the Owner of the item. If an item is added to a character's inventory, its Owner is set to that character, as opposed to the Original Owner, who may be considered the 'rightful' owner of that item. If the Owner does not match the Original Owner, the item is considered stolen.

See Also