Go
Wc3C.net
»
Warcraft III Modding
»
Developer's Corner
»
General Development
»
Disable Auto-Attack
Disable Auto-Attack
08-15-2008, 11:24 PM
#1
PenguinEmperor
The question is simple: How do I retain attack but disable the auto-attack feature?
08-15-2008, 11:55 PM
#2
Captain Griffen
Worker classification. If added by triggers, it won't add the 'Idle Worker (F8)' thing. Don't think it stops auto-retaliate though...can't remember.
08-16-2008, 12:35 AM
#3
Raydude
can't u do acqusition range = 0 so they wont find their own targets?
and yeah worker runs when hit, they dont fight back
08-16-2008, 12:42 AM
#4
burningice95
Yes, setting acquisition range to 0 should disable auto attack
08-16-2008, 01:32 AM
#5
Kino
Quote:
Yes, setting acquisition range to 0 should disable auto attack
Err, no like said it disables their ability to find and hit stuff.
08-16-2008, 02:35 AM
#6
Raydude
but setting it to 0
requires
yourself to right click to attack, so that disables their ability to find and hit stuff
08-16-2008, 10:14 AM
#7
fX_
i want this feature thingf in my map also.
one method i considered was to set acquisition range to 0; then set it to the unit's attack range when it is issued an attack/smart-to-enemy order; then to set it back 0 when it is issued another, non-attack, order or when its order becomes null.
08-18-2008, 03:05 PM
#8
Szythe
Another way to do it is to create an ability based off permanent invisibility, set its fade-time to -1, and disable auto-acquire.