Difference between revisions of "Osiris/API/CanCombineItem"
From Divinity Engine Wiki
(Created page with "===== Full Definition(s) ===== * event '''CanCombineItem'''(''(CHARACTERGUID)'''''_Char''', ''(ITEMGUID)'''''_ItemA''', ''(ITEMGUID)'''''_ItemB''', ''(ITEMGUID)'''''_ItemC''',...") |
m |
||
Line 20: | Line 20: | ||
* [[Osiris/API/CanMoveItem|CanMoveItem]] | * [[Osiris/API/CanMoveItem|CanMoveItem]] | ||
− | [[Category:Osiris Events]] | + | [[Category:Osiris Events|CanCombineItem]] |
Latest revision as of 15:01, 19 December 2017
Full Definition(s)
- event CanCombineItem((CHARACTERGUID)_Char, (ITEMGUID)_ItemA, (ITEMGUID)_ItemB, (ITEMGUID)_ItemC, (ITEMGUID)_ItemD, (ITEMGUID)_ItemE, (INTEGER)_RequestID)
Description
Thrown when a character attempts to combine a number of items. If a combination with fewer than 5 items is attempted, the other _Item* parameters are all NULL.
Allows Osiris to intercept the combination attempt and block it if necessary by sending the call RequestProcessed back to the engine.
Parameters
- _Char: The character combining the items.
- _ItemA: An item being combined.
- _ItemB: An item being combined.
- _ItemC: An item being combined.
- _ItemD: An item being combined.
- _ItemE: An item being combined.
- _RequestID: An integer identifying the combination request.
Notes
- If Osiris does not respond with a RequestProcessed after 1 second, the combination goes through.