Warcraft III resources & community, 2003–2006 · archived

flying unit

9 posts
#1

flying unit

hey i was just wondering how can u make a ground unit fly.


i want the spell to make a ground unit able to fly.
#2
I think this: http://www.wc3sear.ch/viewtopic.php?t=11577 has something to do with it. If you can configure it to make it so the unit doesn't come back down, it would probably help. Also, you can try to edit the Druid of the Talon's Storm Crow ability.
#3
not what i needed,

i want the target of the spell to fly in the air and after a few seconds him to come back down.
here is the trigger i made so far:


Set lightTarget = (Target unit of ability being cast)

Unit - Create 1 Puller for (Owner of (Triggering unit)) at (Position of (Target unit of ability being cast)) facing Default building facing degrees

Set Lighter = (Last created unit)

Unit - Add FlY to (Target unit of ability being cast)

Unit - Order (Target unit of ability being cast) to Night Elf Demon Hunter - Metamorphosis

Unit - Pause (Target unit of ability being cast)

Animation - Change (Target unit of ability being cast) flying height to 700.00 at 75.00


Unit - Order (Target unit of ability being cast) to Night Elf Demon Hunter - Metamorphosis

Wait 2.00 seconds

Animation - Change (Target unit of ability being cast) flying height to 0.00 at 150.00

Unit - Unpause (Target unit of ability being cast)
____________________________________________________________________________

This works until the guy is supposed to come downhe just stays up in the air and for some reason he has the "Stunned" swirl over his head, even though i put the dration of the spell to 2

PLZ HELP!
#4
scratch that thing i said about the swirls, i fixed that.
but i still need help getting the guy down.
#5
Its pretty silly what you did. Just add and remove the meta immediately!!!! This will assure the flying height problem solved and then all you have to do is change the units flying height, wait and then change it again to 0. End of story!

~Daelin
#6
hmmm
i did what u told me and the guy stil wont come down


here is my trigger:

Unit - Add FlY to (Target unit of ability being cast)


Unit - Remove FlY from (Target unit of ability being cast)

Wait 6.00 seconds



Animation - Change (Target unit of ability being cast) flying height to 0.00 at 300.00






the dude wont come down!
#8
That's because "Target Unit of Ability Being cast" resets after one wait, no matter how short it is. Conclusion, keep the target into a variable if you want to use it after waits...

~Daelin
#9
thx Daelin it works perfectly now!