Osiris/API/CanMoveItem

From Divinity Engine Wiki
Revision as of 14:42, 19 December 2017 by LarIlya (talk | contribs) (Created page with "===== Full Definition(s) ===== * event '''CanMoveItem'''(''(CHARACTERGUID)'''''_Char''', ''(ITEMGUID)'''''_Item''', ''(INTEGER)'''''_RequestID''') ===== Description ===== Thro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Full Definition(s)
  • event CanMoveItem((CHARACTERGUID)_Char, (ITEMGUID)_Item, (INTEGER)_RequestID)
Description

Thrown when a character attempts to move 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 moving the item.
  • _Item: The item being moving.
  • _RequestID: An integer identifying the use request.
Notes
  • If Osiris does not respond with a RequestProcessed after 1 second, the move action goes through.
See Also