How to add more success messages

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
GDev_23
Posts: 15
Joined: Fri May 28, 2021 1:12 pm

How to add more success messages

Post by GDev_23 »

Hello there!

I am slowly learning Dialogue System and loving it, but there are a few details I would like to know about.

In my game, a mission may have several ends depending of the player's choice. In that case, I need more than one success message to let the player know about it... For example, if the mission has 2 ending possibilities, I would need 2 different success messages that would appear depending of the player's choice in the quest.

Is it possible to add another success message in the settings? How can you show it with conditions if necessary?
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to add more success messages

Post by Tony Li »

Hi,

Are you writing quests in Quest Machine or the Dialogue System?
GDev_23
Posts: 15
Joined: Fri May 28, 2021 1:12 pm

Re: How to add more success messages

Post by GDev_23 »

In the DIalogue System.
I just realized by doing some reasearch that they are two different things :lol:
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to add more success messages

Post by Tony Li »

Hi,

I moved your question to the Dialogue System forum section.

Do you need to show the success message in the quest log window or in dialogue? If it's in dialogue, then you don't need to add a different type of success state. Just check conditions in the conversation and branch to the appropriate dialogue entry. (See the Conversation Conditions tutorial for info about branching.)

If you need to show a different state in the quest log window, the easiest way is to add two quest entries, one for each success message. Leave them both set to unassigned. When the player completes the quest, set the appropriate one to success.
GDev_23
Posts: 15
Joined: Fri May 28, 2021 1:12 pm

Re: How to add more success messages

Post by GDev_23 »

Ah, excellent!

Thank you very much, I'll try it out! :)
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to add more success messages

Post by Tony Li »

Glad to help!
Post Reply