Use moues click to start conversation??
Posted: Tue Feb 23, 2021 12:04 am
Hi - I'm trying to figure out how to start an NPC conversation by clicking on him/her instead of hitting the space bar. On the Usable component I added an On Select event, used the NPC as the object and trigger the DialogueSystemTrigger.OnUse() method.
But....this activates the dialogue as soon as the mouse hover over the NPC. And stops when the mouse is no longer over the NPC. How do I change it to only trigger the conversation when I left-click the NPC? Probably an easier answer....I just can't figure it out....
But....this activates the dialogue as soon as the mouse hover over the NPC. And stops when the mouse is no longer over the NPC. How do I change it to only trigger the conversation when I left-click the NPC? Probably an easier answer....I just can't figure it out....