Osiris/API/CanLockpickItem: Difference between revisions

From Divinity Engine Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 15: Line 15:
* [[Osiris/API/CanMoveItem|CanMoveItem]]
* [[Osiris/API/CanMoveItem|CanMoveItem]]
   
   
[[Category:Osiris Events]]
[[Category:Osiris Events|CanLockpickItem]]

Latest revision as of 14:02, 19 December 2017

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

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

Parameters
  • _Char: The character lockpicking the item.
  • _Item: The item being lockpicked.
  • _RequestID: An integer identifying the lockpick request.
Notes
  • If Osiris does not respond with a RequestProcessed after 1 second, the lockpick action goes through.
See Also