• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 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!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

[Trigger] Slow Units Within X Of Unit Of Type

Status
Not open for further replies.
Level 2
Joined
Dec 23, 2007
Messages
23
I was wondering how to slow a unit's movement speed when it comes within x of a unit type rather than a specific unit. Is there any way to do this?

Thanks
 
Level 3
Joined
Dec 28, 2007
Messages
46
Go into the object editor. Make a new spell based off of endurance aura (if this is going to be a unit ability and not a hero ability you want to make sure you base it off of the unit version of endurance aura by clicking the drop-down menu and choosing units).

On the main world editor window go to file --> preferences and make sure that the field "allow negative real values in the word editor" is checked.

Ok now go back to your spell and change the field "targets allowed" to just uncheck "friendly" and check "enemy". Once you have done that you change the attack speed and movement speed bonuses to negative amounts in order to slow. So, if you want to slow by 15% you would change the field from w/e it is to -0.15. :)
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
I think you should use Slow Aura (Tornado) instead because the buff will show up as negative instead of Endurance Aura where the slow buff will show up as positive. (unless you use color codes to make the buff seem negative)

The bad thing about Slow Aura (Tornado) is that it won't show up in the unit's ability thingy, but that could be fixed with a dummy ability if you want people to see it.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
What is wrong with endurance aura with negative value

make the units you want ancient and make it only effect ancients
 
Level 14
Joined
Nov 18, 2007
Messages
1,084
What is wrong with endurance aura with negative value

make the units you want ancient and make it only effect ancients
Nothing's wrong with that, except when the buff shows up on the enemies, it will look weird because the buff for Endurance Aura will be considered positive and the text will show up as green unless you made it look like it was negative by using color codes...

Why would you want to make them ancients??
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Tornado's slowing aura then -.-

its specify unit type so you make your unit types ancient (or undead)
and make your spell affect ancient (or undead)
 
Status
Not open for further replies.
Top