Questing with multiple outcomes (A Morality choice)

Announcements, support questions, and discussion for Quest Machine.
Post Reply
IICookieGII
Posts: 17
Joined: Mon Sep 30, 2019 6:04 am

Questing with multiple outcomes (A Morality choice)

Post by IICookieGII »

Hi,

I have started to integrate QM into my project and so far so good.

One (most likely simple) question I have is; Can I build a quest where the player has two choices on how to complete it. i.e. player speaks to quest giver, player accepts the quest to kill 5 enemies. However, if the player chooses to simply scare away the enemies instead of killing he still completes the quest with essentially the same outcome (enemies are now removed /dispersed from an area)?

A morality system is what I am trying to implement. Kill enemies = negative morality. Scare away enemies = positive morality.

Is this possible with Quest Machine? Or something similar that I can build upon?

Thanks in advance,

Cookie
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Questing with multiple outcomes (A Morality choice)

Post by Tony Li »

Hi Cookie,

Sure! It might look like this:

moralityQuest.png
moralityQuest.png (28.93 KiB) Viewed 452 times

When the quest starts, the "Kill 5 Enemies" and "Scare Enemies" nodes will both become active.

The "Kill 5 Enemies" node could have a condition that checks a kill counter, and "Scare Enemies" could have some other condition, such as a message from Quest Machine's message system that the enemies have been scare away (or even another counter that tracks how enemies have been scared away).

The "Either Above" node has a condition that either parent node has become true (i.e., their conditions have been met).
IICookieGII
Posts: 17
Joined: Mon Sep 30, 2019 6:04 am

Re: Questing with multiple outcomes (A Morality choice)

Post by IICookieGII »

This is excellent! Again, thank you and like many have said before... Fast,Brilliant service! Btw, I just purchased Dialogue Manager today.

Wanted the full suite of tools to complement my project.

Thanks again,

Cookie
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Questing with multiple outcomes (A Morality choice)

Post by Tony Li »

Thanks for buying the Dialogue System! If you have questions about setting up the integration, just let me know.
Post Reply