• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[AI] Let AI buy lumber, hire mercenaries and buy Shredders

Status
Not open for further replies.
Level 28
Joined
Feb 2, 2006
Messages
1,638
Hello there,
I am working on an AI script to for freelancers in my custom map: https://raw.githubusercontent.com/tdauth/wowr/master/ai/Freelancer.ai
Freelancers are basically heroes only with only one main building who cannot collect gold or lumber and cannot train units.
However, I want them to hire mercenaries all over the map. Their main building produces some food and some shops sell lumber as well.
I was wondering if there are some flags I could set or do I really need custom triggers?

I could give the AI some lumber every X seconds if they are not able to buy mercenaries and in the end I will probably auto summon some mercenaries and add them somehow to the attack group but it would be much cooler to have some native functions like PurchaseZeppelin. It would look much better to see AI going to buy lumber and to hire mercenaries from camps.

Here is another thread with no answers: [AI] - Need help with making my AI to buy units. Can you help ?

Another thing I would like to add to the Warlord AI scripts who build bases is that they buy Shredders.
 
Last edited:
Status
Not open for further replies.
Top