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

[Trigger] enimie waves

Status
Not open for further replies.
Level 2
Joined
Nov 14, 2008
Messages
21
ok so im confussed/lost. i want to make it so that when player one types "-send" it creates a certian number of enemies in a certian spot and then the enemies walk down a path towards a building they want to destroy.

my problem is i can get the enemies to spawn but they dont go down the right path and if they see you they walk right past you. i would like them to attack if they see you and if they kill u or u run away they continue to walk toward the building to attack it
 
Level 13
Joined
Sep 14, 2008
Messages
1,408
  • Unit Group - Pick every unit in HeroGroup and do (Unit - Order (spawns) to Attack-Move To (Position of (Picked unit)))

That's surely one way.

But I think you can even use "Unit Issue Point" and use "last created unit".
When you create units by using "Create "Any Number" of "YourUnit" at point facing" then "last created unit" will pick all created units.
 
Level 9
Joined
Apr 3, 2008
Messages
700
And how did i write? Attack-Move = issue-point order, spawns = created units...

DarkAngelAzazel said:
When you create units by using "Create "Any Number" of "YourUnit" at point facing" then "last created unit" will pick all created units.

Wow, can i really pick groups with "last created unit"? Didn't know it. Nice thing, although it's useless when you create units with loop.
 
Status
Not open for further replies.
Top