- 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.
Reasons for returning different values might be terrain-deformations caused by spells/abilities and different graphic settings. Other reasons could be the rendering state of destructables and visibility differences.
- return type
- Source code
native GetLocationZ takes location whichLocation returns real