.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

Reply
 
Thread Tools Display Modes
  #1  
Old November 27th, 2008, 02:32 AM

Omnirizon Omnirizon is offline
BANNED USER
 
Join Date: Dec 2007
Location: Illinois
Posts: 1,133
Thanks: 25
Thanked 59 Times in 36 Posts
Omnirizon is on a distinguished road
Default 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?
Reply With Quote
  #2  
Old November 27th, 2008, 03:40 AM
Endoperez's Avatar

Endoperez Endoperez is offline
National Security Advisor
 
Join Date: Sep 2003
Location: Eastern Finland
Posts: 7,110
Thanks: 145
Thanked 153 Times in 101 Posts
Endoperez is on a distinguished road
Default Re: commanders ignoring orders and running to a particular spot?

Quote:
Originally Posted by Omnirizon View Post
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.
Reply With Quote
  #3  
Old November 28th, 2008, 11:47 AM

Sombre Sombre is offline
BANNED USER
 
Join Date: Feb 2007
Posts: 5,463
Thanks: 165
Thanked 324 Times in 190 Posts
Sombre is on a distinguished road
Default 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


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


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