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

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