Spawning AI with a Behavior Tree

NodeCanvas Forums General Discussion Spawning AI with a Behavior Tree

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9349
    timbecile
    Participant

    Hi,

    just got Node Canvas and really like it. I’m trying to spawn a group of AI that all use their own instance of the same Behavior Tree. but when they spawn, they all play the same animation, and I get a “Infinite Loop” error detected.

    the AI works fine when it’s just a single AI, although I’ve seen it when I duplicate the soldier also.

    I’m not sure what I’m doing wrong….

    #9354
    Gavalakis
    Keymaster

    Hello,
    Thanks! I’m glad you like it.

    I just rechecked duplicating the soldier couple of times and it works.Hm..
    Is the ‘infinite loop’ the only error you are getting?
    What do you mean that they all play the same animation?

    Is it at all possible sending me an error reproduction project? If so please send it to info_at_nodecanvas.com

    Please, let me know.

    Join us on Discord: https://discord.gg/97q2Rjh

    #9353
    timbecile
    Participant

    Hey Gavalakis,

    I will send you a dropbox link to the project. I haven’t got any other errors besides the infinite loop.

    When the new AI spawn, the end up stuck at a play animation loop and don’t do any of the other behaviors…

    #9352
    Gavalakis
    Keymaster

    Hello I just send you an email 🙂
    Let me know.

    Join us on Discord: https://discord.gg/97q2Rjh

    #9351
    Gavalakis
    Keymaster

    Oh, another thing I just noticed on top of the email I’ve send you, is that you have set the behaviour to run only once.
    On the BehaviourTreeOwner, ‘Forever’ is checked off.

    Join us on Discord: https://discord.gg/97q2Rjh

    #9350
    timbecile
    Participant

    Hey Gal, I noticed that as well….it’s fixed now.

    Thanks again

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.