• 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.

Creating unit underground

Status
Not open for further replies.
Level 14
Joined
Nov 17, 2010
Messages
1,266
You could change the model with Magos Model Editor so it sits half in the ground. Then just use triggers to raise it up. I'm not sure if you can make it sit halfway underground by using the object editor, but you could try changing the minimum flying height and the flying height to a negative number. Just hold shift while double clicking on the field to set it to a negative number.
 
Level 10
Joined
Apr 18, 2009
Messages
601
If you want to do it with the height fields in the object editor:
Set Movement - Type to Hover or Flying.
Set Movement - Height and Movement - Height Minimum to a negative number (hold shift while opening the field).

The standard way of setting height with triggers does not seem to work for negative numbers though:
  • Change Unit Flying Height Positive
  • Events
    • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit - Add Storm Crow Form to Footman 0000 <gen>
      • Unit - Remove Storm Crow Form from Footman 0000 <gen>
      • Animation - Change Footman 0000 <gen> flying height to 1000.00 at 2000.00
Changes the unit flying height to 1000 over 0.5 seconds (1000/2000).


  • Change Unit Flying Height Negative
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit - Add Storm Crow Form to Footman 0000 <gen>
      • Unit - Remove Storm Crow Form from Footman 0000 <gen>
      • Animation - Change Footman 0000 <gen> flying height to -1000.00 at 2000.00
Does nothing.


  • Change Unit Flying Height Negative
    • Events
      • Time - Elapsed game time is 1.00 seconds
    • Conditions
    • Actions
      • Unit - Add Storm Crow Form to Footman 0000 <gen>
      • Unit - Remove Storm Crow Form from Footman 0000 <gen>
      • Animation - Change Footman 0000 <gen> flying height to -1000.00 at -2000.00
Does nothing.
 
Last edited:
Status
Not open for further replies.
Top