.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Dominions 3: The Awakening (http://forum.shrapnelgames.com/forumdisplay.php?f=138)
-   -   commanders ignoring orders and running to a particular spot? (http://forum.shrapnelgames.com/showthread.php?t=41409)

Omnirizon November 27th, 2008 02:32 AM

commanders ignoring orders and running to a particular spot?
 
funny behavior here.

I have two commanders equiped with spell casting items and set to cast those spells. The items are Staffs of Corrosion. I have the commanders set about a quarter of the way from the very front (so they're in range, I think). I have the set to cast spells, but I've also tried manually scripting Acid Bolt x 5. Either way same thing happens.

They ignor the orders and had for the very back center. WTF.

Is this a bug? Is it because they're out of range? What's going on?

Endoperez November 27th, 2008 03:40 AM

Re: commanders ignoring orders and running to a particular spot?
 
Quote:

Originally Posted by Omnirizon (Post 655907)
funny behavior here.

I have two commanders equiped with spell casting items and set to cast those spells. The items are Staffs of Corrosion. I have the commanders set about a quarter of the way from the very front (so they're in range, I think). I have the set to cast spells, but I've also tried manually scripting Acid Bolt x 5. Either way same thing happens.

They ignor the orders and had for the very back center. WTF.

Is this a bug? Is it because they're out of range? What's going on?

It seems like they're trying to "Stay behind troops", and you have some troops near the center (probably archers). I don't know why they do that instead of casting Acid Bolt, but perhaps the enemies are still out of range.

Try scriptings them for "hold or cast" for the first few turns. If they don't have any innate magic, they only have one spell to cast, and at least they don't run away from their targets and thus out of range.

Sombre November 28th, 2008 11:47 AM

Re: commanders ignoring orders and running to a particular spot?
 
Yeah they're definitely trying to 'stay behind troops' and the reason is almost certainly that they aren't in range. When a unit can't cast a spell as it's been told to (or won't due to whatever crazy AI reasoning) it will check if it can cast any other spells instead and if it can't do that it will return to another default behaviour, which is stay behind troops. I'm guessing these two commanders can't cast any other spells (probably just indy commanders or something).

If you tell them to hold or cast that'll do the trick. Set their last order to cast spells though, so they hang around and keep going.


All times are GMT -4. The time now is 07:05 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.