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

Zombie Target

Status
Not open for further replies.
Level 5
Joined
Mar 16, 2008
Messages
104
I have been having trouble on a zombie map, to make the zombies attack items such as barricades BEFORE attack the humans. As in Dawn of the Dead, what would the trigger be? Any help would be fantastic. Thanks a bunch-

T3h B055.:thumbs_up:
 
Level 10
Joined
Apr 13, 2005
Messages
630
Why not use an event every 1-5 second (depends on how often you wanna check)

action - Pick every item up in area. attack pick item.
If/then/else if number in area contains 0 items
then Attack units in area.

I cant use my editor to really help you but give me like 1 hour n ill be able to
 
Level 34
Joined
Jul 4, 2007
Messages
5,552
I believe it was called Priority, in the Object Editor.

It's always (not in a correct order):
- Heroes and units.
- Spellcasters.
- Siege units.
- Attacking buildings like towers.
- Buildings.

Heroes and units get attacked first, then the casters, then the siege units and eventually the buildings.
 
Level 2
Joined
Mar 29, 2009
Messages
16
theDivineBoss should be right, if you set the priority on the barricades to something lower than any other unit, it "should" attack it first.
 
Status
Not open for further replies.
Top