News Forums RAIN General Discussion and Troubleshooting Resetting the Attack node on a Behavior tree

This topic contains 2 replies, has 2 voices, and was last updated by  Parad0x 4 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40240

    Parad0x
    Participant

    I am currently having trouble with my behavior tree. I have it set up so that my AI patrols a path and attacks(custom action) an object until death. Once it is dead, follow the patrol again, but once the first object is attacked and destroyed, they won’t attack any other ones. I feel like I have to reset the minds target component and then reset the behavior tree and again look for another enemy but I am unsure of how to do this.

    #40245

    Sigil
    Keymaster

    Could you post a screen shot of your behavior tree? There are several ways to do what you want, but I’ll need to see the tree to get a better idea of what is going on.

    #40247

    Parad0x
    Participant

    I figured it out, sorry I didnt close this thread, totally forgot I posted it. Just had to tweak which nodes were being repeated and which stopped.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.