Osiris/API/ItemGetOriginalOwner: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Created page with "===== Full Definition(s) ===== * query '''ItemGetOriginalOwner'''('''''[in]'''(ITEMGUID)'''''_Item''', '''''[in]'''(CHARACTERGUID)'''''_Character''') ===== Description ===== R...")
 
No edit summary
 
Line 6: Line 6:
* '''Success/Failure''': Fails if the '''_Item''' does not exist.
* '''Success/Failure''': Fails if the '''_Item''' does not exist.
* '''_Character''': The original owner of the item.
* '''_Character''': The original owner of the item.
===== 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 15:12, 19 December 2017

Full Definition(s)
  • query ItemGetOriginalOwner([in](ITEMGUID)_Item, [in](CHARACTERGUID)_Character)
Description

Returnes the Original Owner of the _Item as _Character. This can be changed through ItemSetOriginalOwner.

Return Values
  • Success/Failure: Fails if the _Item does not exist.
  • _Character: The original owner of the item.
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