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

Disable Unit/Hero Auto-Attack

Status
Not open for further replies.
Level 7
Joined
Feb 6, 2008
Messages
133
I found some solutions on The Helper Forums..

Solution 1
You can classify the unit as peon or worker if you do not want it to auto-attack in all instances possible.

Solution 2
The acquisition range is the maximum range for ranged attacks.
If you set an archer which has 1000 range, and gave it 100 acquisition range, the archer's range will be reduced to 100.

Solution 3
Replacing the unit with a "no target" unit.

RESULTS:
Solution 1: Works Perfectly
Solution 2: Not Tested
Solution 3: Doesn't Work
 
You could try adding the classification of Worker to the units, so they won't attack, or maybe add permanent invisibility.

This shoud work, but you will see it as an idle worker unit. I dont think the invisibility is needed.

The acquisition range is the maximum range for ranged attacks.
If you set an archer which has 1000 range, and gave it 100 acquisition range, the archer's range will be reduced to 100.

This is best, if the unit is melee.

You can classify the unit as peon if you do not want it to auto-attack in all instances possible.

This is the same as the first one i described.

replacing the unit with a "no target" unit.

I dont undarstand this last one...
 
Status
Not open for further replies.
Top