Thread: Some Questions
View Single Post
  #7  
Old August 3rd, 2009, 03:39 PM

Ironhawk Ironhawk is offline
General
 
Join Date: May 2004
Location: Seattle, WA
Posts: 3,011
Thanks: 0
Thanked 45 Times in 35 Posts
Ironhawk is on a distinguished road
Default Re: Some Questions

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 View Post
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?
Reply With Quote