I am working on an AI that does not cheat in any way. I have found a unit flag that I can use to test if a unit is visible (through the fog of war) or not. By forcing the AI to use information based on what he has seen, he has the same chances a human player would have.
But having the AI actually scan the screen would be impossible. Because the AI does not use a screen or camera to speak of. As far as I know anyway.
But having the AI actually scan the screen would be impossible. Because the AI does not use a screen or camera to speak of. As far as I know anyway.