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

[General] How do neutral hostile units choose their target

Status
Not open for further replies.
Level 3
Joined
Mar 31, 2015
Messages
28
I am not sure I'm posting this in the right forum, but here it goes:

How do neutral hostile units (aka creeps), or, for that matter, computer-controlled player units choose their attack target if surrounded by more than one enemy?

Do they check armor, level, type (building, unit, Hero, ward etc.), distance, current lunar phase, or something else? Or everything combined?

This question is so general, and almost certainly has been asked before, however, I can't find any such thread.

I did find this thread explaining how creeps choose their spell targets, though.
 
There are lots of factors that influence this. For example, if one of your units is attacking one of your own units, your unit will be deprioritized compared to other units that are attacking the computer controlled unit.
 
And they will chase your heroes to the end of the world if they don't have a creep return distance.

Personally I'd like to know a way to completely remove their behaviour.
 
Status
Not open for further replies.
Back
Top