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

Region that Slows Movement Speed

Status
Not open for further replies.
Level 6
Joined
Aug 2, 2009
Messages
128
I've been trying for a while now to make a windy region that slows you down while you are in it and you return to normal speed when you leave it. Anyone have any idea? I have a feeling I'll need dummy units that put some kind of slow spell on the units.
 
Level 6
Joined
Aug 28, 2015
Messages
213
Or make a speed aura with no range and just self as target option and then a trigger like

Event:
Unit enter region
Unit leaves region
Action:
If
Triggering unit is in "your_region" equals true
Level of ability "your_slow_aura" of triggering unit less equals 0
Then
Add unit triggering unit ability "your_slow_aura"
Else
If
Triggering unit is in "your_region" equals false
Level of ability "your_slow_aura" of triggering unit more equals 1
Then
Remove unit Triggering unit ability "your_slow_aura"
Else
 
Status
Not open for further replies.
Top