Difference between revisions of "Osiris/API/ItemGetOwner"

From Divinity Engine Wiki
Jump to: navigation, search
(Created page with "===== Full Definition(s) ===== * query '''ItemGetOwner'''('''''[in]'''(ITEMGUID)'''''_Item''', '''''[in]'''(CHARACTERGUID)'''''_Character''') ===== Description ===== Returnes...")
 
(Undo revision 5028 by LarIlya (talk))
 
(One intermediate revision by the same user not shown)
(No difference)

Latest revision as of 16:07, 19 December 2017

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

Returnes the Owner of the _Item as _Character, which is the last character to have the item in their inventory. This can be overridden through ItemSetOwner.

Return Values
  • Success/Failure: Fails if the _Item does not exist.
  • _Character: The owner of the item.
Notes
  • An item's Owner is cleared when that Owner dies.
See Also