In my UI I list the different quests that are available, like a message board.
When I call StartDialogue on the quest giver, it gives me the list of quests but I don't want that as I already have preselected a quest.
So I'm wondering how I can start a dialogue with a quest giver for a specific quest?
StartDialogue for a specific quest instance?
Re: StartDialogue for a specific quest instance?
Hi,
I'll add that as an option in the next update.
Alternatively, you can make the message board into a Quest Giver, add the quests to it, and allow the message board to show the menu of quests like normal in Quest Machine. If you want it to have a different appearance, you can assign a custom quest dialogue UI to it.
I'll add that as an option in the next update.
Alternatively, you can make the message board into a Quest Giver, add the quests to it, and allow the message board to show the menu of quests like normal in Quest Machine. If you want it to have a different appearance, you can assign a custom quest dialogue UI to it.
Re: StartDialogue for a specific quest instance?
Any ETA on the update?
I can probably stick with a single quest per giver for the moment while I wait for the update. No need for me to change anything yet in the meantime.
I can probably stick with a single quest per giver for the moment while I wait for the update. No need for me to change anything yet in the meantime.
Re: StartDialogue for a specific quest instance?
I'm trying to get a release out by the middle of next week.
Re: StartDialogue for a specific quest instance?
It looks like I can separate out the change. Here's a patch:
QM_QuestGiverPatch_2019-10-17.unitypackage
To use it, call the QuestGiver's StartSpecifiedQuestDialogueWithPlayer("questID") method, or StartSpecifiedQuestDialogue(GameObject player, string questID) if you have more than one player and need to specify which one.
QM_QuestGiverPatch_2019-10-17.unitypackage
To use it, call the QuestGiver's StartSpecifiedQuestDialogueWithPlayer("questID") method, or StartSpecifiedQuestDialogue(GameObject player, string questID) if you have more than one player and need to specify which one.
Re: StartDialogue for a specific quest instance?
Awesome! Works like a charm!