• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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