Page 1 of 1

Show unavailable dialogue options in conversation

Posted: Tue Sep 17, 2019 1:54 pm
by Deadcow
We set conditions in conversations like this: "Variable["Want's_to_talk"] == false" and it simply hides this answer if condition is false, as intended. Condition variable might be some Player stat, or item in inventory or anything.
We'd like to optionally show response buttons, uninteractable, to show that player missing something to continue conversation with this response.
Is there a built-in way to do this? We don't want to show all conditional dialogue options, just some specific

Re: Show unavailable dialogue options in conversation

Posted: Tue Sep 17, 2019 2:38 pm
by Tony Li
Hi!

Please see this post.

Re: Show unavailable dialogue options in conversation

Posted: Wed Sep 25, 2019 9:46 am
by Deadcow
I'm missing something... In your example all responces comes to ShowResponses function, valid and invalid. In my project only available responses goes in this function. I compared DialogueSystemController inspectors but they looks similar :?

Re: Show unavailable dialogue options in conversation

Posted: Wed Sep 25, 2019 9:54 am
by Tony Li
Hi,

On the Dialogue Manager GameObject, tick Display Settings > Input Settings > Include Invalid Entries.