Osiris/API/ItemCanSitOn

From Divinity Engine Wiki
Revision as of 11:13, 27 November 2018 by Tinkerer (talk | contribs) (Documented ItemCanSitOn)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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