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

[Trigger] Getting a unit's head Z

Status
Not open for further replies.
Level 5
Joined
Feb 5, 2008
Messages
109
I got a lot of questions at the moment. ^^

I'd like to create a lightning effect from a unit's head to another point. With JNGP I can create lightnings from XYZ to XYZ, but I don't know how to get the Z of a unit's head/chest/etc.
I can't use its flying height because I don't want to have a lightning starting at the feet. A way to get the height of a model would also be a solution, but another would be better.

Thanks for help. =)
Triax
 
Status
Not open for further replies.
Top