How To Track Selected Options?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
caltaylor101
Posts: 11
Joined: Mon Nov 11, 2024 7:20 pm

How To Track Selected Options?

Post by caltaylor101 »

Hello,

I'm using Dialogue System for Unity and would like to track which dialogue options a player has previously selected. Specifically, if a player chooses one of three options (e.g., Option 1), I want that option to present new dialogue the next time the conversation occurs. What is the recommended approach to implement this functionality within the system?

Thank you for your assistance.
User avatar
Tony Li
Posts: 22936
Joined: Thu Jul 18, 2013 1:27 pm

Re: How To Track Selected Options?

Post by Tony Li »

Hi,

SimStatus is designed specifically for things like this.

Here's an example:

simStatusOptions.png
simStatusOptions.png (48.43 KiB) Viewed 596 times

The first time this conversation runs, the first response menu option will be "Not much" because entry [5] hasn't been displayed (i.e., clicked on) yet. If the player chooses this menu option, then the next time the conversation runs, the first response menu option will be "Nothin'".

Note that both of these options are linked from a Group node, which is a node whose Group checkbox is ticked. Group nodes are just pass-throughs. They'll never appear as subtitles or response menu options.
caltaylor101
Posts: 11
Joined: Mon Nov 11, 2024 7:20 pm

Re: How To Track Selected Options?

Post by caltaylor101 »

Perfect, exactly what I needed! Thank you so much!
User avatar
Tony Li
Posts: 22936
Joined: Thu Jul 18, 2013 1:27 pm

Re: How To Track Selected Options?

Post by Tony Li »

Glad to help!
Post Reply