Reply To: Various questions

NodeCanvas Forums Support Various questions Reply To: Various questions

#9862

Hi,

Thanks for the amazing support and attention! I feel confident with this asset. I’m still working my way around understanding behaviour trees in general (I followed the links you’ve supplied elsewhere, but still… learning curve).

What I meant was typically our npcs will be following patrol routes but at certain times of the day, they will pack up and go home until it is dawn again. But you can stop an an npc at any time and have a chat. I’d like to integrate some fairly complicated behaviours in here (think quests) which might include dialogue.

For example:

1. npc patrols or goes home (this is a looped ongoing behaviour)

2. another npc might collide with this npc, which triggers a custom response, an animation perhaps.

3. another npc might “broadcast” an event to all npcs nearby which cause them to flee or congregate.

4. you might initiate a dialogue with an npc, and you’ll chat with multiple choice answers and branches depending on your inventory, for example he might ask for an apple and you’ll be able to give it to him, or hand a quest in. But when you give him the apple, he runs off with it and places it in a basket and then returns to resume the dialogue.

This is pretty complicated behaviour which I could code of course, but I want to use your behaviour trees to absolute maximum effect, so any advice to this end in general is really welcome. I’m trying to gain an insight to how you think, and how you expect users to use nodecanvas in a situation like this.

Thanks 🙂