Warning: Illegal string offset 'type' in [path]/includes/class_postbit.php(294) : eval()'d code on line 65
.com.unity Forums - View Single Post - Frustratingly Stupid Fire Mages
View Single Post
  #1  
Old September 25th, 2009, 06:59 PM
Squirrelloid Squirrelloid is offline
Major General
 
Join Date: Jun 2009
Posts: 2,157
Thanks: 69
Thanked 116 Times in 73 Posts
Squirrelloid is on a distinguished road
Default Re: Frustratingly Stupid Fire Mages

Quote:
Originally Posted by thejeff View Post
On the other hand, often moving forward is exactly the wrong thing to do. Brings the mage that much closer to the enemy that's closing on him.
Imagine a mage with an army on Hold and attack. He runs up past his troops and gets run down by the enemy's charging cavalry before his men even move.

It's not a trivial AI task.
If you know your army is scripted like that, you can script the mage more suitably (such as scripting hold, or perhaps casting a specific buff spell instead)
Reply With Quote