Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Exactly as above, how could I make a trigger that slows a units movement speed on water? Preferably not too trigger heavy as it will have to work for quite a lot of units. Thanks in advance for helping xD.
one solution would be, to create invisible units in the water, with the
tornado slowing aura. then you have to place some so there is no free space in the
water, in which you don't get slowed.
and that you don't have to much units, just increase the aoe of the aura.
I think these would be the triggers you are looking for.
Terrain
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Set group1 = (Units in (Playable map area) matching ((Terrain cliff level at (Position of (Matching unit))) Equal to 0))
Unit Group - Pick every unit in (Units in (Playable map area) matching ((Terrain cliff level at (Position of (Matching unit))) Equal to 0)) and do (Actions)
Loop - Actions
Unit - Set (Picked unit) movement speed to ((Default movement speed of (Picked unit)) - 50.00)
Custom script: call DestroyGroup(udg_group1)
Terrain2
Events
Time - Every 0.10 seconds of game time
Conditions
Actions
Set group1 = (Units in (Playable map area) matching ((Terrain cliff level at (Position of (Matching unit))) Greater than or equal to 1))
Unit Group - Pick every unit in group1 and do (Actions)
Loop - Actions
Unit - Set (Picked unit) movement speed to (Default movement speed of (Picked unit))
Custom script: call DestroyGroup(udg_group1)
Change the time interval and cliff levels and movement reduction to better suit your needs.
Thank you both for helping.
Im using the method where you change something or other (cant remember what) that allows you to create land by using the raise tool, will the cliff level thing still work?
Thank you both for helping.
Im using the method where you change something or other (cant remember what) that allows you to create land by using the raise tool, will the cliff level thing still work?
I'm not sure actually, it should do it. To check you can just hover you mouse over the terrain to see the cliff level in the lower right corner. Note that it currently slows down air units too.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.