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

Melee attack range

Status
Not open for further replies.
Level 4
Joined
Jan 5, 2014
Messages
79
Hello, when a melee unit attacks another unit and the attacked unit moves away, sometimes it is hit and sometimes the attacking unit misses. Can i find out somehow, how far must the attacked unit be from the attacker to be missed?
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Hello, when a melee unit attacks another unit and the attacked unit moves away, sometimes it is hit and sometimes the attacking unit misses. Can i find out somehow, how far must the attacked unit be from the attacker to be missed?

You can set this value in "Combat - Attack x - Range Motion Buffer". Default is 250.
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
This is also somewhat affected by the units own range. In a map of mine I have one unit type with a very short melee range and it can't hit moving targets. Yet, all others can in most cases.

In short the range motion buffer is just the range a target may walk beyond max range of the attacker to still getting hit/have a projectile released. So of course attack range affects whether a target is hit.
 
Status
Not open for further replies.
Top