• 🏆 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!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

A couple problems ;)

Status
Not open for further replies.
Level 6
Joined
May 27, 2007
Messages
162
I want to make a unit with negative flying height, so that half the model is 'buried' beneath the terrain. This work's in theory (as in, I can place the unit in the WorldEdit, and it looks buried) but in practice, (when I test the map), the unit reverts to it's usual flying height of 0.

I have made the unit's flying height -50, minimum flying height -50, movement type = fly, movement speed = 1, turn rate = 0.1. Do I need to use triggers to manually alter the flying height to a negative value? If so, what action allows me to do so? And is it possible in GUI?

Secondly, the item Tiny [Building Name Here], which builds a unit through an item. I have a trigger with the
Event: Hero Uses an Item
Cond: Item is equal to "Build Building X"

What event response do I use to make an action refer to the Building? Or does this item cause the Event: A unit finishes construction to trigger?

Thanks for your time!
 
Level 4
Joined
Jan 20, 2007
Messages
65
1) Not sure about the flight height thing, I thought it may be in Gameplay Constants but I couldn't find it there.

2) If I understand you correctly, you're trying to do something to the building when it is finished constructing?

In that case use "Unit finishes constructing"
 
Level 6
Joined
May 27, 2007
Messages
162
Hey Turilli

I thought it would be in gameplay constants aswell, but couldn't find anything!

And the unit finishes construction works perfectly! +rep
 
Level 4
Joined
Jan 20, 2007
Messages
65
I just tested the flight height thing, it worked for me.
Did you remember to set both fields, "Movement - Height" and "Movement - Height Minimum" to your desired height? If either is not set, it will not work.

And if you did remember, did you make sure your unit was considered a flyer?
 
Level 4
Joined
Jan 20, 2007
Messages
65
Interesting. Well, my last two thoughts would be, have you enabled negative real values in your editor? If not, go to File - Preferences and check the box.

If you've done that, did you edit your unit from a previous flying unit? If not, try that. I did, only changing two fields and it worked for me in game.
 
Status
Not open for further replies.
Top