• 🏆 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!

How to make unit imune to Trueshot Aura

Status
Not open for further replies.
Level 1
Joined
Apr 23, 2008
Messages
4
I need to make some type of units imune to Trueshot Aura. The units are meele, but the have attack type = missile, beacause they throw fire missile for very short distances.

Or how to make unit to fire missiles, when attack type = normal?
 
Level 3
Joined
Mar 12, 2007
Messages
62
the easy way around this would be to make them lets say, Mechanical and edit true-shots aura's targets to disclude mechanical creatures
 
Level 17
Joined
Aug 19, 2007
Messages
1,380
The missile projectile doesn't appear when set to normal. As for the make unit immune, you can do the following thing:
- go to your Trueshot aura and go to "targets allowed", mark a thing like non-ancient and go to your unit and go to unit classification, mark ancient. So it you say: the aura effects range units but it can't effect ancients.

You can change the Trueshot ability so it effects melee units only, range units only or effects range and melee units (like command aura).

You can use dummy units to make melee units fire missiles or edit the models to add missile animaties to the attack animation, but that's alot more difficult. If you want to go for the dummy units search in google for tutorials.

Hope I helped.
 
Level 3
Joined
Jan 11, 2008
Messages
36
You can make it with trigger:
  • Events
    • Time - Every 0.10 seconds of game time
  • Conditions
  • Actions
    • Unit Group - Pick every unit in (Units of type your_unit) an do (Actions)
      • Loop - Actions
        • Unit - Remove Trueshot Aura buff from (Picked unit)
 
Last edited:
Level 12
Joined
Mar 16, 2006
Messages
992
You can make it with trigger:
  • Events
    • Time - Every 0.10 seconds of game time
  • Conditions
  • Actions
    • Unit Group - Pick every unit in (Units of type your_unit) an do (Actions)
      • Loop - Actions
        • Unit - Remove Trueshot Aura buff from (Picked unit)

Better to just give the unit a classification and make sure trueshot aura does not affect that classification type.
 
Status
Not open for further replies.
Top