Return unit's (altitude) Z map coordinate (Cartesian System). Unit may be alive or dead.
Returns 0.0 if unit was removed or is null.
Retrieving Z is desync prone, this version might cause desyncs, but (unconfirmed) should be faster than BlzGetUnitZ, hence why both exist. In case that you are doing a single player map (campaign), you might decide to use this one instead of BlzGetUnitZ.
Return unit's (altitude) Z map coordinate (Cartesian System). Unit may be alive or dead.
Returns 0.0 if unit was removed or is null.
Retrieving Z is desync prone, this version might cause desyncs, but (unconfirmed) should be faster than
BlzGetUnitZ
, hence why both exist. In case that you are doing a single player map (campaign), you might decide to use this one instead ofBlzGetUnitZ
.