• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[AI] Bugs in AI

Status
Not open for further replies.
Level 2
Joined
Sep 19, 2004
Messages
6
I'm building undead ai for both normal and insane difficulties. And I've found some bug that if my ai builds higher town hall then my ai builds any buildings whether its condition evaluate to true or not.

To add flexibility for my ai, I ordered him to build 2 more extra crypt only if he has got more than 2000 gold. but when he upgrade his town hall to higher town hall which is hall of the dead then he builds any buildings in building order.

I've tried to find what caused this.. but I couldn't find it.

Can you help me to make my ai don't build something that has false condition?
:?:
 
Level 3
Joined
Aug 10, 2004
Messages
59
I had this problem too, I things that it is because you should make condition to build main base for undead, (probablu you orderd AI to build main base level 1 at start) You should put condition to build main base like this:
If player got 1 or more main town hall level 1 or
If player got 1 or more main town hall level 2 or
If player got 1 or more main town hall level 3

It should work, it worked in my map,
 
Status
Not open for further replies.
Top