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

Limitless distance attack?

Status
Not open for further replies.
Level 12
Joined
Mar 13, 2012
Messages
1,121
It should be noted that changing acquisition range using triggers will not alter range. Only in the object editor does it limit maximum range.

It will only alter idle/attack ground attack range and aggro range. As the editor acquisition range limits the max attack range in nearly all cases, SetUnitAcquireRange is limited in its use.
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
That is exactly what your quoted post says

To make it clear, two example uses:

If SetUnitAcquireRange is low (51) and the editor value is high (99999), a ground attacking unit will in most cases not "see" enemies and pass them (there are exceptions ofc, e.g. damage events, spellcasts or calls for help from allies) though it could attack them with a direct attack.

If SetUnitAcquireRange is high (99999) and the editor value is low (100), an idling/ground attacking unit will charge enemies across the whole map but can attack them only in the small range (again there are exceptions, neutral units for example are not attacked until they start aggro)
 
Status
Not open for further replies.
Top