Page 2 of 2

Re: How to do Same conversation, different actors, different text?

Posted: Thu Jul 14, 2022 3:23 pm
by Tony Li
You can't add links at runtime (at least not easily), and it's probably better in the long run to make the links visible to the designer at edit time instead of having to remember that a link might change at runtime.

You can set up cross-conversation links that check the conversation (NPC), like in this example:

linkToCharacterSpecificConversations.png
linkToCharacterSpecificConversations.png (28.84 KiB) Viewed 198 times

If you don't know the NPCs ahead of time, you could write some code to start a new conversation based on the NPC's name or some other identifying information. Or you could create a new database at runtime that links to the NPC's conversation. (See How To: Create Dialogue Database At Runtime.)