Reply To: Dialogue Tree Multiple Actors

Forums 💬 NodeCanvas ⚙️ Support Dialogue Tree Multiple Actors Reply To: Dialogue Tree Multiple Actors

#17726
Gavalakis
Keymaster

    Hey,

    Sorry for the late reply!
    If you are referring to branching the dialogue depending on which NPC the player interacts with, then I think the best solution would be to use the “Task Condition” or “Multiple Task Condition” node to branch the dialogue based on some condition, which could be (like you said) a custom condition that checks which actor the player is currently interacting with.

    Another (probably easier) solution would of course also be to just create a different Dialogue Tree altogether for each NPC the player can interact with (and as such a different conversation). Doing this, it will then be just a matter of starting the correct Dialogue Tree object as opposed to trying branching one Dialogue Tree into different directions.

    Please let me know if that is what you are referring to, or if I completely misunderstood your question.
    Thanks!