Page 1 of 1

Dialog Trigger System use with Inventory

Posted: Fri Sep 23, 2022 9:10 am
by Ekta Bhutwala
Hii

I am dragging inventory item to use with object and if the object is correct with inventory item, then conversation should start, and object is not correct then other conversation should start.

I have Updated dialog system trigger to OnTriggerEnter so when inventory item get trigger with object, conversation getting start. But I want conversation to start when I lift my mouse button.

Currently I am not checking the inventory triggering with object correct or not. that also i need to figure out. also, conversation should start on mouse button release/drag end.

Re: Dialog Trigger System use with Inventory

Posted: Fri Sep 23, 2022 11:57 am
by Tony Li
Hi,

I recommend setting the Dialogue System Trigger to OnUse(). Then write a script that detects the mouse button release. When the script detects the mouse button release, call in the Dialogue System Trigger's OnUse() method.