• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Get Unit Z

Status
Not open for further replies.
Level 17
Joined
Feb 11, 2011
Messages
1,860
Hi guys,

I am making a spell which involves making the caster fly and attaching lightning. I would like to know how I can determine the height of a unit to accurately set lightning z with MoveLightningEx. If I use GetUnitFlyHeight it seems to return the desired fly height (i.e. the height set with SetUnitFlyHeight) instead of the current height of the unit. Any ideas? Need a better explanation?

EDIT: Added an image (hope it's clear):

imageeauv.jpgp
imageeauv.jpg


Thanks,

Mr_Bean
 
Status
Not open for further replies.
Top