Accessing QuestGiver.StartDialogue / StartDialogueWithPlayer

Announcements, support questions, and discussion for Quest Machine.
Post Reply
User avatar
Tony Li
Posts: 20703
Joined: Thu Jul 18, 2013 1:27 pm

Accessing QuestGiver.StartDialogue / StartDialogueWithPlayer

Post by Tony Li »

(This post is in response to a Youtube query.)

To configure a QuestGiver to start dialogue with the player:

1. Set the player GameObject's Tag to Player. This GameObject should have a QuestJournal component.

2. Configure the UnityEvent to call the QuestGiver component's StartDialogueWithPlayer method. Here's an example from the Demo scene:

assignQuestGiverStartDialogue.png
assignQuestGiverStartDialogue.png (128.98 KiB) Viewed 4296 times
Post Reply