The AI evaluates each step in the script of a unit as it processes it. So on round 1 it will examine order 1 and if it can execute it (enough mage paths, enough gems, target within range, etc), then it will. If it cannot, it will ignore that particular spell (but not the script entirely) and cast whatever it thinks is best for that round. This process continues until round 5 or the script ends, whichever comes first. After that the mage will just do whatever the ai thinks is best.
Quote:
Originally Posted by Iron Duke
2) Let us say that I forgot something during scripting other mages(not talking about the storm caster) and the first or first two orders were not carried out by them. What happens then, do they wait until they are able to carry out their orders or the whole script goes poof and they do whatever they think as prudent?
|