I've been working on a project for the last couple of weeks, and recently created an AI system for 4 cpu players, however, I later decided to expand it slightly, and so I am going through the code and fixing things here and there so I can use as many ai players as I want.
However, I've hit a snag. For some reason my ai stop fighting (both each other and human players) seemingly randomly upon a spawn.
Not sure why, and that's why I'm here.
I have tried recreating it as a smaller file, but there's something in my code that is causing a conflict. I was wondering if some kind person out there might be interested in giving my code a quick debug. It still has a couple of glitches, but that's because I haven't finished updating it all to the new system. I just want to know why they stop fighting.
In any case, if you think you're good enough with C" to help me out, please let me know and I will PM you the code. The file is quite small (under 2mb) but it does have over 300 events. Many are not important, and I think I'm close to figuring out the problem.
Anyway, hope someone out there can help!