Implementing OnTrigger Start Dialogue

I am currently following the Unity Dialogue & Quest course. In my game I wanted to check if the Player enters the trigger of the NPC and then with a for ecample “E” start the conversation. I’ve tried it but I can’t get the Dialogue to start. How should I go about this? I’ve tried to put OnTriggerEnter in the AIConversant with a bool that checks if the Player is in the trigger, that works but when I Press E nothing happens. I am pretty sure I am missing something but I don’t really know what.
Does anyone have an idea how I can implement this?

Thx
Laura

Paste in your OnTriggerEnter code and we’ll take a look.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms