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

TPS zombie survival

Status
Not open for further replies.
Level 3
Joined
Mar 23, 2010
Messages
46
i have the TPS camera and shooting thing already made. Now im stuck on making waves of enemies. I need them to spawn, respawn, and attack the nearest enemy player. (The aggro range needs to extend throughout the entire map.) I also need to make the zombies attack the barracade first, then attack the players. Any Trigger suggestions or even the entire trigger would be very helpful. Thankyou!:goblin_boom:
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,287
Sigh, people seem to forget SC2 is an RTS.

Anyway, if baracades are not dead, then order the zombies to attack them. Once they are dead, then order them to attack move the ground beneath somehero (a unit variable). Do this every 10 seconds.

Every miniute or so, you set somehero to a random unit from allheroes (a group with all the player's heroes). When a player's hero dies, remove them from allheroes and add them to revivable or dead or whatever you want.

On top of this, you set their attack agro range to quite large. The result is they will hunt down and mob a single player but if others are closer, they will attack them. Extreemly effective for how simple it is.
 
Level 3
Joined
Mar 23, 2010
Messages
46
I have an idea what you're saying, but which triggers should i activate? I need to know the triggers i should use for this. I also need to know where and how to set the unit's aggro range.
Sorry, im new to the SC2 trigger editor. I'm more used to WC3's trigger system.
 
Level 9
Joined
Dec 21, 2006
Messages
490
no1 was able to find the aggro range yet. there were already several topics here. But i have found another way to solve this problem and you DON'T even need a trigger.

you can add a behavior to every zombie unit which makes the units attack the nearest enemy. you have to use the perodic effect stuff added to the behavior. play a bit with the editor, it's not that difficult. don#t have time nor editor right now.
 
Status
Not open for further replies.
Top