object - commandobject - unit


int GetLocationZ()

Scope: public

Parameters
none

Return values
Z-coordinate of object location.

Description
Y-coordinate of object location equals 0 (on surface) or 1 (in tunnels). Exact object Z-location (e.g. for flyables) is not provided for script.

See also
GetLocationX, GetLocationY