Osiris/API/ItemCanSitOn: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
(Documented ItemCanSitOn)
(No difference)

Revision as of 10:13, 27 November 2018

Full Definition(s)
  • query ItemCanSitOn([in](ITEMGUID)_Item, [out](INTEGER)_Bool)
Description

Returns whether _Item is can be sat/lied on, or a character can be constrained to it.

Return Values
  • Success/Failure: Default return value.
  • _Bool: 1 if the item has at least one of the following use actions: sit, lie, or constrain; 0 in other cases.
Notes
  • This query returns 1 even if someone else is already occupying the item and there is no room for another character to "sit" on it.
See Also