• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Computer players & Tavern heroes

Status
Not open for further replies.
Level 11
Joined
Sep 14, 2009
Messages
284
Just a very basic question. I don't play melee maps alot, but when I do I NEVER ever see computer players buy and use heroes from the Tavern. Why is this? Is there nothing in the default blizzard AI that tells the computer players to do this?

I wonder this becuase I am experimenting around with melee maps and only want computer players to use heroes from Taverns (neutral buildings).
 
Level 6
Joined
Feb 5, 2012
Messages
1,685
maybe a JASS command?.. cause i have a map AOS... it has an AI and AI must buy heroes from Tavern but it didn't work..

What i did... i create Lets say X HERO somewhere in the hidden part of the map..

When the AI will pick i just change the owner of X HERO then make UNIT TYPE OF X HERO to become UNAVAILABLE let just say set number of stock to 0 to all taverns..

In that way Computer Players will look like buying a hero in the tavern...
 
Status
Not open for further replies.
Top