Become alert when nearby enemies become alert

Gubernator

New member
Im using UCC (FirstPersonCC) + BD(movement) .
How to notify other AI when an enemy is detected (like Can See Object or Can hear object) -> using the including demo with Nolan?
 
Last edited:
I made Send Event/Has Received Event tasks as described in the documentation, but Has Receive Event is transmitted and receives only to myself (the one who saw it first), he does not transmit this event to all other AI with the same Behaviour tree like this.
I don't understand how to transfer this event to other AI, can you please help?
1629905141485.png

1629905257947.png
 
The Target GameObject allows you to specify which agent you want to send the event to. The task does not allow it to broadcast to all behavior trees. In that case you'll need to create a new task. I can also look into adding this.
 
Top