men11
Junior vMember
Posts: 25
|
Post by men11 on Jun 7, 2020 19:52:34 GMT
I have made an Ai alert script that is activated once the AI spot the player, where the furthest Ai will move to the alarm unit to call for backup where the rest are engaging the player
the problem is when the rest of the surrounding AI notice the player the same script will be called again multiple times
what I can do to stop this from happening , I want to make sure only 1 AI is going to call for backup not multiple ones?
|
|
|
Post by komposite on Jun 10, 2020 9:31:34 GMT
Well, maybe change your state once the alarm has been rang to an other state, like investigate or something.
Also, you might use random decision, in order to make something less redundant once the AI spot you
|
|