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.
- comment
- note
Returns the same result as
BlzGetLocalUnitZ
.- note
Since unit extends from widget, you can use widget-related functions too. See:
GetUnitX
,GetUnitY
,GetWidgetX
,GetWidgetY
.- patch
1.30
- return type
real
- Source code
native BlzGetUnitZ takes unit whichUnit returns real
- Source
- common.j
- wc3modding.com
- BlzGetUnitZ