Im trying to make several enemies (using same action script) to avoid obstacles and eachother.
Ive used the object avoidance from the AI example of AUM57 though c_content is for pro only (I have A7 com) so I used c_trace instead. This kind of works.
However with enemies keeping a distance from eacother, my enemy action script is starting to use alot of traces (upto 6 ATM and getting bigger) which cannot be good.
Is there a easier/better/faster way?
I was thinking of using c_scan to have scanned enemies call out their position to the scanning fellow enemy and then they kind of work out who can go where depending on who is nearest to the player but this is very complicated to me. Is this good AI procedure?
I suppose an example may be helpful. So if a bunch of enemies are in front of me then I want them to approach me when I get near, avoiding eachother (not to stack up one behind the other) and setting themselves around me in a circle.
Any hints are welcome.