You get the delay, because the game code asks Osiris if it can use the button or not.

React to the CanUseItem event and call RequestProcessed with a 1 as the last parameter to indicate you allow the use.

You'll have similar delays for the other requests like this:

Code
event CanMoveItem((CHARACTERGUID)_Character, (ITEMGUID)_Item, (INTEGER)_RequestID) (3,0,809,1)
event CanPickupItem((CHARACTERGUID)_Character, (ITEMGUID)_Item, (INTEGER)_RequestID) (3,0,810,1)
event CanUseItem((CHARACTERGUID)_Character, (ITEMGUID)_Item, (INTEGER)_RequestID) (3,0,811,1)
event CanLockpickItem((CHARACTERGUID)_Character, (ITEMGUID)_Item, (INTEGER)_RequestID) (3,0,812,1)
event CanCombineItem((CHARACTERGUID)_Character, (ITEMGUID)_ItemA, (ITEMGUID)_ItemB, (ITEMGUID)_ItemC, (ITEMGUID)_ItemD, (ITEMGUID)_ItemE, (INTEGER)_RequestID) (3,0,813,1)


EDIT: rereading your post, this might be something else. I would still verify that you're calling RequestProcessed. (check your Osiris log)

Does the button have an owner and is the crime system blocking the use?

Last edited by ALF; 02/05/18 02:12 PM.