Post date: Mar 25, 2016 7:43:4 PM
I decided that I need to make a sort of prority list for AI in terms of threat. If the AI is actively shooting at the station, that is its priority so when the player flies through past, it keeps firing at the station. Immediate threat, however, automatically becomes the highest priority for a set amount of seconds or till the threat is neutralized. When the enemy is not actively firing at a station, if the player or a drone flies past it, it will lock on to the player/drone till it is out of range, then it will return back to seeking its highest priority (the station; the enemy will always have the current station under attack in its priority list, but the priority for the station changes).
This priority system is going to take a large amount of coding, but I am up for the challenge!