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.
Dialog Trigger System use with Inventory
-
- Posts: 40
- Joined: Mon Sep 05, 2022 5:40 am
Re: Dialog Trigger System use with Inventory
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.
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.