• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Move on water

Status
Not open for further replies.
Change the movement type of your unit to Amphibious.

Edit: check transform abilities.

Otherwise, you could create a script/trigger which detects if the unit is at location x.
If its on water he can enter (when having the ability or item) or else not.

The unit should have Amphibious as his basic movement type though.
 
The only way is to morph a unit to a another unit with amphibious movement type. So i dont think its possible to do that.
 
It's not hard, seriously. You will just need a hidden item to move in front of your unit, towards the facing of your unit. You will check if the point at the item's position is water-filled ((Terrain pathing at (Point1) of type Floatability is off) Equal to False) {Point1 = (Position of item)} and you will also check for the terrain cliff level. If the terrain cliff level is Equal to 0 (this level is applied for the default cliff level the editor has, when it creates a default map) and your unit is moving (a library might be needed here, if you don't want clumsy effects with simple coding, although it can be done just fine), then change your units fly height, to support pathing in the deep water.
 
Status
Not open for further replies.
Back
Top