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

[Solved] Flying Height

Status
Not open for further replies.

nGy

nGy

Level 11
Joined
Apr 15, 2011
Messages
123
I got some problem with a map i'm currently making. I created a spell that should throw all surrounding units into the air. The peak-height of the "flight" depends on the distance to the caster. Now it's obvious that I don't really want all my units in game to be flying units (though it would be an option if nothing else worked). So I thought about asking if there is any other way to set certain height values (so i'm not talking about impale or tornado or that stuff). For example for DotA they got to make spells which make units raise from ground (e.g. Tiny's "Toss" or Admiral's "Torrent").
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
Add the Crow Form ability to all targeted units, and immediately remove it afterwards. This tricks the game into thinking they are flying units, so you'll be able to change the flying heights. Don't forget to pause the units, remove collision, etc, while they are in the air.

If that won't work, try removing the Crow Form ability after unpausing the units.
 

nGy

nGy

Level 11
Joined
Apr 15, 2011
Messages
123
@Ramza: Thanks very much, this worked well, didn't think this would be that easy :)
@defskull: Sry for my bad english but I really didn't get what you were trying to say ^^" did you want me to post my triggers? Anyway thanks for reply :)
 
Status
Not open for further replies.
Top