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

Accurate Unit height?

Status
Not open for further replies.
Level 25
Joined
Feb 9, 2009
Messages
1,800
So I'm using the new special effects modification, but unlike units it has no default height, it drops to the ground like a bag of wet mice.
The way I thought was working came to a complete hault as I started sending the units with the active effects up higher terrain, it would dip! (Dip, meaning it would be lower)


Option 1
  • Special Effect - Set Position - Z of (Last created special effect) to ((Position - Z of DamageEventTarget) + 20.00)
If I use above, it looks good, but if you go up higher terrain is lowers slightly and flying units will only have the effect where it was if was on the ground!


Option 2
  • Special Effect - Set Position - Z of (Last created special effect) to ((Current flying height of DamageEventTarget) + 20.00)
Using flying height makes it dip even farther down, (even with flying units!)

Help me obi-.. dearest fellow members, you're my only hope!
 
Status
Not open for further replies.
Top