Difference between revisions of "Osiris/API/ItemSetOriginalOwner"

From Divinity Engine Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
===== Description =====
 
===== 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.
 
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 =====
 
===== See Also =====
 
*[[Osiris/API/ItemSetOnlyOwnerCanUse|ItemSetOnlyOwnerCanUse]]
 
*[[Osiris/API/ItemSetOnlyOwnerCanUse|ItemSetOnlyOwnerCanUse]]

Latest revision as of 16: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