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

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