• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Zombie Triggers?

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
Reveal the map for the player that owns the zombies and give them a huge acquisition range. Remember to disable them from retreating after travelling a certain distance (turn off camp guarding).

Be aware that large area acquisition range operations can be computationally expensive. It is advisable to never allow a lot of them to occur at any given time to prevent frame dropping.
 
Level 3
Joined
Apr 30, 2011
Messages
22
I tried many things, but how do you turn the retreat off? is it in triggers or object editor

Edits: heres the map.
 

Attachments

  • Zombies.w3x
    490.1 KB · Views: 36
Last edited:
Level 4
Joined
Jul 14, 2012
Messages
100
Why not just make it so that a player's unit is predetermined as Player[1] in the trigger editor.

Then you split the zombie horde into however many players there are. For example, if there were 3 players in your map, just make 3 groups. When these units spawn, make them spawn in multiples of 3, so that they are even. That way you can make 3 different Unit Groups for the zombies.

Then just use the pick every unit in unit group Zombies[1] and order Picked Unit to Attack Move to location of player[1], and do so for all zombies and player groups.

This actually doesnt take much triggering and would save the lag from that other acquisition range idea o_O
 
Status
Not open for further replies.
Top