• 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.

Campaign AI wave, restock, etc

Status
Not open for further replies.
Level 3
Joined
Aug 9, 2018
Messages
25
Hello,

I am not quite the most adapt person when it comes to using Jass or the World editor to create AI, I am requesting help with programming my AI teams in one of my maps to send waves of units, replenish those units and defend. Pretty self-explanatory. If anyone would like to help or would like more information or even would like to see the map I would kindly provide that for you and it would be much appreciated. Thanks!
 
Level 19
Joined
Apr 20, 2014
Messages
616
I suggest you to follow this tutorial :

How to make a Campaign AI - WC3 Modding Information Center

If you are enough concentrate, it's really simple to understand.
Basically in your code, you just have to write:
- Required Buildings/Units
- Defenders
- Attackers

Defenders are the units waiting at the gold mine (often) and react when the base attacked.
You can also place several units at the base as guards. They will be replaced on death (You may define how many times they are replaced).
When you make a wave, the units are automatically produced.
 
Status
Not open for further replies.
Top