So I have a bunch of AI in a layout and I'd like them to be aware of each other and their state.
For example, I have two AI's in a room. One AI spots me and becomes aware, should the other AI be in the vicinity/have line of sight on me, then they too will become aware.
My problem is that I cannot fathom how to check if one enemy type sees an enemy type that is not itself. How do I check for this?
I am basically wanting to script any AI that have line of sight to other AI to become aware.
Any help on this matter would be super appreciated.
I am sorry for the lack of capx - my project is now so monstrous and confusing I don't really think it would help.