• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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