Osiris/API/ItemIsInInventory: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
m (Link to DB_HasStoryEvent)
mNo edit summary
Line 12: Line 12:
* Helper [[Osiris/Shared/DB_HasStoryEvent|DB_HasStoryEvent]]
* Helper [[Osiris/Shared/DB_HasStoryEvent|DB_HasStoryEvent]]


[[Category:Osiris Queries]]
[[Category:Osiris Queries|ItemIsInInventory]]

Revision as of 14:39, 19 December 2017

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