• 🏆 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!

[AI] Help me with AI

Status
Not open for further replies.
Level 2
Joined
Nov 2, 2004
Messages
9
Help!!!! I created a new Tavern with 10 new heroes, but the computer player never contract any of them!! whats the problem??? :roll:


Me ajudem!!!! Eu criei uma nova taverna com 10 novos heróis mas o computador nunca contrata eles!! qual o problema??? :roll:
 
Level 6
Joined
Jun 16, 2004
Messages
237
I don't think the computer hires any neutral heroes. Ever. You need to force it to do it manually, if you know how to do it. I think you need to move a unit near the tavern and use a JASS command to hire a custom hero. Additionally, you would have to update the AI script to actually use that hero. Not easy at all.
 
Level 2
Joined
Apr 13, 2004
Messages
29
Such things are a lot easier to do with AMAI Developer's Edition as AMAI knows how to hire neutral heroes (although there is only support for one tavern in it, more taverns would require code changes).
 
Status
Not open for further replies.
Top