• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

How would you make a unit walk the bottom of the ocean.

Status
Not open for further replies.
Level 15
Joined
Mar 25, 2016
Messages
1,327
I recently realized, when triggering a missile, that movement type "none" caused the missile to move on the bottom of the water. Using fly, it moved above the water.
I don't know if that helps you, because movement type "none" does not allow movement (I used SetUnitX/Y).
If you would somehow trigger movement, that would be an option. Apart from that maybe using flying height and GetLocationZ could work too.
 
Level 15
Joined
Mar 25, 2016
Messages
1,327
GetLocationZ does return the max(terrainheight, waterheight), so you cannot get the height of the water ground.

Using "none" as movement type works apparently, but it ignores all kind of pathing.
 
Status
Not open for further replies.
Top