Re: Require Return To Complete in Manual (Editor) Quests
Posted: Thu Feb 21, 2019 5:43 pm
by GorkaGames
On your answer: For example, to add "require return to complete" to a hand-written quest, currently you must add a new Condition node. Then you must add a MessageQuestCondition that listens for the Discuss Quest message.
I add a Message Quest Condition, but what do I have to fill in to compare with the Discuss Quest message? There is not any Discuss Quest message field on it.
Thanks.
Re: Require Return To Complete in Manual (Editor) Quests
Posted: Thu Feb 21, 2019 7:05 pm
by Tony Li
This tutorial shows how to set up the Return node:
Re: Require Return To Complete in Manual (Editor) Quests
Posted: Thu Feb 21, 2019 7:38 pm
by GorkaGames
ok, I made a very easy custom Condition script also, but what is the difference between
QuestMachineMessages.DiscussQuestMessage
QuestMachineMessages.DiscussedQuestMessage
¿When exactly do they trigger?
Thanks!
Re: Require Return To Complete in Manual (Editor) Quests
Posted: Thu Feb 21, 2019 8:05 pm
by Tony Li
"Discuss Quest" is sent before showing a quest's dialogue content. If an active node's condition is listening for this message, the node will become true before Quest Machine decides what dialogue content to show.
"Discussed Quest" is sent after showing the quest's dialogue content. If an active node's condition is listening for this message, Quest Machine will show dialogue content, and then the node will become true.
If you ever need a reminder, the Quest Reference window has descriptions (Tools > Quest Machine > Quest Reference), as does page 30 of the manual.