• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Slowed Movement on Water

Status
Not open for further replies.
Level 4
Joined
Jan 9, 2010
Messages
89
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.
 
Last edited:
Level 4
Joined
Jan 9, 2010
Messages
89
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.
 
Status
Not open for further replies.
Top