Hado
Recruit

The AI is getting stuck often because they aren't obeying line of sight rules. Whenever they "see" an enemy they stop to aim/engage it.. the problem with this is that the AI ignores the terrain and knows where everyone is on the map. Therefore if it "sees" an enemy a 200meters away behind a hill it will stop to engage, despite the player's attempt to spam commands. Only when the target is eliminated will the AI respond to commands again.
Suggested fix: put in LOS checks so troops actually have to see an enemy to engage it. Player commands should override automatic behaviour no matter what.
Also, the AI only looks in one direction, and never scans around for targets out of their field of vision so if an army of troops is coming up beside or behind, they wont check to see. Either make the AI scan different directions, or simply give them 360 degree vision to simulate human behaviour.
Suggested fix: put in LOS checks so troops actually have to see an enemy to engage it. Player commands should override automatic behaviour no matter what.
Also, the AI only looks in one direction, and never scans around for targets out of their field of vision so if an army of troops is coming up beside or behind, they wont check to see. Either make the AI scan different directions, or simply give them 360 degree vision to simulate human behaviour.