Osiris/API/ItemIsInInventory

From Divinity Engine Wiki
Revision as of 21:30, 9 August 2017 by Tinkerer (talk | contribs) (Link to DB_HasStoryEvent)
Jump to: navigation, search
Full Definition(s)
  • query ItemIsInInventory([in](ITEMGUID)_Item, [out](INTEGER)_Bool)
Description

Returns whether _Item is in an inventory. This includes both character and container inventories.

Return Values
  • Success/Failure: Default return value.
  • _Bool: 0 if _Item is not in an inventory (as defined above), 1 if it is.
Notes
  • /
See Also