Difference between revisions of "Osiris/API/ItemSetOriginalOwner"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * call '''ItemSetOriginalOwner'''(''(ITEMGUID)'''''_Item''', ''(CHARACTERGUID)'''''_NewOwner''') ===== Description ===== Changes the Original Ow...")
 
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
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.
 
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 =====
 
===== Notes =====
* If a character dies and they are the Original Owner of an item, the Original Owner of that item is cleared.
+
* 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 =====
 
===== See Also =====
 
*[[Osiris/API/ItemSetOnlyOwnerCanUse|ItemSetOnlyOwnerCanUse]]
 
*[[Osiris/API/ItemSetOnlyOwnerCanUse|ItemSetOnlyOwnerCanUse]]

Latest revision as of 17:12, 19 December 2017

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