Hey, I just downloaded this package and started playing around with it an hour or two ago. Is there a simple way to make it so certain agents only attack the player if attacked first?
You can adjust the behavior tree so only the Has Received Damage branch runs. With that said, this branch doesn't do the actual attacking and it is instead the Can See branch that does the attacks so you'll also need to move the attack nodes to the new branch:
The next highest priority branch after the Near Grenade branch is the Damaged branch: The Damaged branch makes use of conditional aborts similar to the . . .
But I would also like my AI to attack and kill AI on its enemy layer when seen, I would just like it to attack the player AI when attacked. I tried creating a new method mixing the damaged and attack and using a "player" variable but for some reason it takes damage input from more than just the player
By default it should automatically do that - when the Has Received Damage task runs it will start seeking towards the attack location. When the target comes in sight Can See Object will then run and start attacking.