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

Need help making a trigger that attacks all enemys at once

Status
Not open for further replies.
Level 5
Joined
Jun 13, 2012
Messages
113
basically every time its night time all the zombies swarm on all the players no matter where there going or walking the zombies should follow the user and attack anyone else in the process. but i cant seem to find the right issue order for that can anyone help?

Please and thank you
 
Level 16
Joined
Mar 27, 2011
Messages
1,349
I know a really simple way to make zombies attack players across the map.

You set the "aquistic range" of the unit too something large like 100000, then you create a trigger which provides vision over the map for the player who owns the zombies. This is basic and simple zombie AI.

For your attack move to action, you need to enter something like: "position of random unit matching unit is an enemy of player zombies" or something along those lines.
 
Status
Not open for further replies.
Top