Osiris/API/CanUseItem: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 17: Line 17:
* [[Osiris/Shared/ProcBlockUseOfItem|ProcBlockUseOfItem]]
* [[Osiris/Shared/ProcBlockUseOfItem|ProcBlockUseOfItem]]
   
   
[[Category:Osiris Events]]
[[Category:Osiris Events|CanUseItem]]

Latest revision as of 14:03, 19 December 2017

Full Definition(s)
  • event CanUseItem((CHARACTERGUID)_Char, (ITEMGUID)_Item, (INTEGER)_RequestID)
Description

Thrown when a character uses an item. Allows Osiris to intercept the use and block it if necessary by sending the call RequestProcessed back to the engine.

Parameters
  • _Char: The character using the item.
  • _Item: The item being used.
  • _RequestID: An integer identifying the use request.
Notes
See Also