Actor "IsPlayer" and Responses

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Kamotachi
Posts: 51
Joined: Fri Nov 29, 2019 9:03 pm

Actor "IsPlayer" and Responses

Post by Kamotachi »

Hi! I have a question.

For a gameplay issue, in the game I'm making most of the time the answers that the player can select even when they have an invalid condition are shown disabled on screen. This is fine for me.

The thing is that sometimes I want the Actor (player) to give automatic answers according to some condition and not to show me the options that I can answer.

Maybe a simple way would be to uncheck the “isPlayer” option temporarily for those parts of the conversation. Can this be done from the Sequencer?
If not, is there a more recommended way?

Thanks!

EDIT: I know the answer! I can change it from script instead of a Sequencer command.
Anyway, there are still some more correct way?
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor "IsPlayer" and Responses

Post by Tony Li »

Hi,

If you include "[auto]" in an entry's Dialogue Text or Menu Text, the conversation will automatically play that entry instead of showing a response menu.

Similarly, if you include "[f]" it will force a response menu even if there's only one response.
Kamotachi
Posts: 51
Joined: Fri Nov 29, 2019 9:03 pm

Re: Actor "IsPlayer" and Responses

Post by Kamotachi »

How easy! It works. Everything is really thought! :idea:
Thanks, solved!
User avatar
Tony Li
Posts: 22655
Joined: Thu Jul 18, 2013 1:27 pm

Re: Actor "IsPlayer" and Responses

Post by Tony Li »

Glad to help!
Post Reply