• 🏆 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!

Detecting Z of specific unit

Status
Not open for further replies.
Level 12
Joined
Apr 16, 2010
Messages
584
For my camera system in my map, i need to detect Z of some unit, i see only X and Y in real, but no Z, is there a way to detect Z?
  • Camera - Set (Player((Integer A)))'s camera Height Offset to (X of Game_Hero[(Integer A)]) over 0.50 seconds
Instead of X i need there Z.
I'm using JNGP so it will be easier to paste the code there
  • Camera - Set (Player((Integer A)))'s camera Height Offset to (Code Here) over 0.50 seconds
Any solution?
 
Status
Not open for further replies.
Top