(Solved) Triggering the conversation
(Solved) Triggering the conversation
I'm using a FPS controller that I created. It has its own interaction system. I've got it setup till the point that the player presses the interact button and it prints "Starting Conversation...". I want to trigger an event (to start the conversation using my interaction system) instead of the print message. Is there a way to do this? If so, how?
Last edited by drandy007 on Sun Dec 08, 2019 5:16 am, edited 1 time in total.
Re: Triggering the conversation
Hi,
Add a Dialogue System Trigger to the interactable object. Leave the trigger type set to OnUse. Select Add Action > Start Conversation, and select the conversation that you have written in your dialogue database.
Configure your interaction system to call the Dialogue System Trigger's OnUse(Transform) method, passing the transform of the player GameObject (i.e., your FPS controller).
Add a Dialogue System Trigger to the interactable object. Leave the trigger type set to OnUse. Select Add Action > Start Conversation, and select the conversation that you have written in your dialogue database.
Configure your interaction system to call the Dialogue System Trigger's OnUse(Transform) method, passing the transform of the player GameObject (i.e., your FPS controller).
Re: Triggering the conversation
Thanks
Got it working now.
Got it working now.