Osiris/API/ItemSetCanInteract

From Divinity Engine Wiki
Revision as of 15:07, 19 December 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * call '''ItemSetCanInteract'''(''(ITEMGUID)'''''_Item''', ''(INTEGER)'''''_Bool''') ===== Description ===== Makes the item interactable if '''_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • call ItemSetCanInteract((ITEMGUID)_Item, (INTEGER)_Bool)
Description

Makes the item interactable if _Bool is 1 and non-interactable if _Bool is 0.

Notes

For items with a defined Use Action, that actions is enabled or disabled. If no specific Use Action is defined, using the item will only send a use event to Osiris, equivalent to the Story Use Use Action.