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

[General] How can I create waves of attacks?

Status
Not open for further replies.
There is:

Unit - Create Unit (....)
Unit - Issue Unit Porint Order ( attack-move, <MyPoint)

You refer with (LastCreated Unit) to the last created unit. You may/have to use it inside the "order" action.
I used this before, now I want a trigger like waves of that mission of WC3 Human campaign.
 
You really should explain what the issue is. ;)

You can:

Create Units 1(...)
.. Wait (10) seconds ()
Create Units 2(...)
.. Wait (10) seconds ()
Create Units 3(...)

You also can have a periodic event that runs your trigger periodicly each 10 seconds or so, which will create a new wave.
Or.. other events. :)
That trigger you spoke of, can attack only on one point or one unit, I want to attack all of units that belongs to a player and I want to destroy that player by waves of attacks.
 
an attack only on one point or one unit
I'm not very sure what you mean with that.
You of course have to specifiy a point where to attack. And this, always.

You can take or static points, where you say the Player's base is for example, or you can also take a player's unit/strucutre position or something similar.

Can you show your code? How To Post Your Trigger
 
Level 25
Joined
May 11, 2007
Messages
4,650
Just using the AI Editor isn't really recommended, as their attack waves tend to return to base after killing one unit and not finding anyone close.

But generally, you want to train units and then send them away on an attack mission, updating the attack position if you can't find any units there.

I'd recommend you do either one of these:
http://blizzardmodding.info/4238/how-to-make-a-campaign-ai/

Or checking the spell section for AI systems, I just can't find the one I'm looking for right now.
 
Status
Not open for further replies.
Top