Page 1 of 1

conversation depended of other

Posted: Wed Mar 02, 2022 3:50 pm
by hrohibil
Hi Tony


What is the easy way to setup one conversation node is depended by another?

So in one conversation player gets told go see this other NPC.
When player engages the conversation with the other NPC, the NPC will ask if player has talked with the other NPC(first NPC), here I need some kind of condition tree so player can only answer yes if he indeed has talked to the other NPC-

I really hope you understand what I mean.

Thanks

Re: conversation depended of other

Posted: Wed Mar 02, 2022 4:14 pm
by Tony Li
Hi,

In the Dialogue Editor, add Boolean variable such as "Talked To First NPC".

In the first NPC's conversation, use a dialogue entry node's Script field to set the variable true.

In the second NPC's conversation, use a dialogue entry node's Conditions field to check if the variable is true.

(Tutorial)

Re: conversation depended of other

Posted: Wed Mar 02, 2022 5:15 pm
by hrohibil
Thank you Toni.

That did it..

KING SUPPORTER YOU ARE

Re: conversation depended of other

Posted: Wed Mar 02, 2022 8:38 pm
by Tony Li
Glad to help!