You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking more about this problem today. What do you think about this solution @wubbadukky?
We make each NPC have a list of dialogue trees, rather than the current single option. You can add as many as you want in the inspector using this list, unique for every NPC. Each dialogue tree is referenced by an index based on its position in the list. Then, in the dialogue graph editor, you would be able to add an optional setting in each node to change the currently active dialogue tree.
So, for example, in the last node of a dialogue tree, you could set it to change the currently active dialogue tree to index 1 instead of index 0. From then on, until this index was changed again, that NPC would play dialogue tree 1 instead of the initial dialogue tree 0. So, the second one could be something like "Why are you still talking to me? Go do your task!" for example.
If we could have something reminiscent of an if statement for when dialogue nodes are called that would be super fresh.
The text was updated successfully, but these errors were encountered: