BlzGetUnitZ

Parameters
whichUnit unit
async
This function is asynchronous. The values it returns are not guaranteed to be the same for each player. If you attempt to use it in an synchronous manner it may cause a desync.
note

Since unit extends from widget, you can use widget-related functions too. See: GetUnitX, GetUnitY, GetWidgetX, GetWidgetY.

note

Returns the same result as BlzGetLocalUnitZ.

patch

1.30

return type
real
Source code
native BlzGetUnitZ                                 takes unit whichUnit returns real
Source
unit.j
wc3modding.com
BlzGetUnitZ