• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Unit priorities

Status
Not open for further replies.
Level 6
Joined
Jul 3, 2006
Messages
102
I have noticed that in my map the units do not choose targets like they would normally do. For example, towers are hit by melee and ranged units and sometimes they start hitting the ranged one first. And also most units seem prone to start hitting a hero when he comes nearby. They stop attacking their victim to start attacking the hero.

How can I change this?
 
I think only via triggers..

- get all units within xx range of unit xyz
- if unit type of picked unit equal to abc
-- then order it to stop/attack/etc.

something like this. you need to manually trigger the attacking units.. set some conditions that shall rule over all units. Like melee units get hit first from towers, and so on.
 
Status
Not open for further replies.
Back
Top