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

How to add AI in a non-melee map

Status
Not open for further replies.
Level 3
Joined
Aug 29, 2016
Messages
56
Do one of these three:

1) Either you create a AI with the AI Editor, save it and import it to your map.
The AI Editor

2) You create an AI using JASS AI with Notepad++.
How to create a campaign AI

3) You create your race out of the normal melee units and the AI will train those units, it will not recognise any custom units you add.

My map is a hero defense map how do i make them choose heroes and buy items
 
Level 3
Joined
Aug 29, 2016
Messages
56
Order them via triggers. Or simply create and give the hero to them.

For items, you can order them via triggers, or you can give them the item and take gold.
uhhm how do i create those triggers? btw the heroes are in tavern.
they would pick random heroes in a tavern i got 3 taverns.
I would try to create triggers, maybe some of them will work.
 
Status
Not open for further replies.
Top